summaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-02-11 00:29:57 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-19 15:18:16 -0600
commit236de30a3ac790a5ed9d4a6f25d35f07ae0f3532 (patch)
tree9a96ae4e065654f6e9c9f98d200030fe5eb7a496 /console.h
parent29018c8a66913e925e7d2126e5346291e29578e7 (diff)
downloadqemu-236de30a3ac790a5ed9d4a6f25d35f07ae0f3532.tar.gz
qemu-236de30a3ac790a5ed9d4a6f25d35f07ae0f3532.tar.bz2
qemu-236de30a3ac790a5ed9d4a6f25d35f07ae0f3532.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.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/console.h b/console.h
index dfc8ae41d6..916859d5bc 100644
--- a/console.h
+++ b/console.h
@@ -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)
{