From: Geoff Levand Date: Thu, 9 Jul 2009 17:40:43 +0000 (-0700) Subject: Fix nc-cui comment X-Git-Tag: v1.0.0~859 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=877e5ba2735fe504c575204803827b5dbc39eeae;ds=sidebyside Fix nc-cui comment A simple comment move. Signed-off-by: Geoff Levand --- diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index 2a4c971..2b059eb 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -209,6 +209,10 @@ static int cui_process_key(void *arg) return 0; } +/** + * cui_client_process_socket - Process a socket event from the discover server. + */ + static int cui_client_process_socket(void *arg) { struct discover_client *client = arg; @@ -397,10 +401,6 @@ static void cui_device_remove(struct device *dev, void *arg) cui->current->post(cui->current); } -/** - * cui_client_process_socket - Process a socket event from the discover server. - */ - static struct discover_client_ops cui_client_ops = { .device_add = cui_device_add, .device_remove = cui_device_remove,