summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/ncurses/nc-cui.c8
1 files changed, 4 insertions, 4 deletions
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,
OpenPOWER on IntegriCloud