X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fncurses%2Fnc-cui.c;h=2b059eb96b240a146667d686876322ccc18d2b4a;hp=2a4c971165963bb60fc66a3afb3aa49f9db3ec92;hb=877e5ba2735fe504c575204803827b5dbc39eeae;hpb=53aa807ae41e48fd71653c2d00083a44a8bca14c 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,