]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/nc-cui.c
Fix nc-cui comment
[petitboot] / ui / ncurses / nc-cui.c
index 2a4c971165963bb60fc66a3afb3aa49f9db3ec92..2b059eb96b240a146667d686876322ccc18d2b4a 100644 (file)
@@ -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,