console: zap ds arg from register_displaychangelistener

We don't have multiple DisplayStates any more,
so passing it in as argument is not needed.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2013-04-23 15:44:31 +02:00 committed by Anthony Liguori
parent cdd5b93757
commit 5209089fcd
9 changed files with 13 additions and 16 deletions

View file

@ -1030,7 +1030,7 @@ void cocoa_display_init(DisplayState *ds, int full_screen)
// register vga output callbacks
dcl->ops = &dcl_ops;
register_displaychangelistener(ds, dcl);
register_displaychangelistener(dcl);
// register cleanup function
atexit(cocoa_cleanup);