diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-02-11 00:29:57 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-19 15:18:16 -0600 |
commit | 98b5008081b438407bca3fc879e4c51f383c5a80 (patch) | |
tree | 9a96ae4e065654f6e9c9f98d200030fe5eb7a496 /console.h | |
parent | 9441987446d204910a7707272c0f3a7d17f9830c (diff) | |
download | qemu-98b5008081b438407bca3fc879e4c51f383c5a80.tar.gz qemu-98b5008081b438407bca3fc879e4c51f383c5a80.tar.bz2 qemu-98b5008081b438407bca3fc879e4c51f383c5a80.zip |
move default allocator to console.c
Moving stuff in console.c to avoid the need for prototypes makes
this patch a bit bigger, but there's no change in the code.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -144,11 +144,7 @@ DisplaySurface* qemu_create_displaysurface_from(int width, int height, int bpp, PixelFormat qemu_different_endianness_pixelformat(int bpp); PixelFormat qemu_default_pixelformat(int bpp); -extern struct DisplayAllocator default_allocator; DisplayAllocator *register_displayallocator(DisplayState *ds, DisplayAllocator *da); -DisplaySurface* defaultallocator_create_displaysurface(int width, int height); -DisplaySurface* defaultallocator_resize_displaysurface(DisplaySurface *surface, int width, int height); -void defaultallocator_free_displaysurface(DisplaySurface *surface); static inline DisplaySurface* qemu_create_displaysurface(DisplayState *ds, int width, int height) { |