[riot-notifications] [RIOT-OS/RIOT] sys: Add RIOT Registry implementation (#10799)

danpetry notifications at github.com
Wed Feb 20 14:56:08 CET 2019


danpetry commented on this pull request.



> @@ -0,0 +1,198 @@
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include "clist.h"
+#include "registry/registry.h"
+#include "kernel_defines.h"
+#include "assert.h"
+#define ENABLE_DEBUG (0)
+#include "debug.h"
+
+static int _registry_cmp_name(clist_node_t *current, void *name);
+static int _registry_call_commit(clist_node_t *current, void *name);
+static void _parse_name(char *name, int *name_argc, char *name_argv[]);
+static registry_handler_t *_handler_parse_and_lookup(char *name, int *name_argc,
+                                                     char *name_argv[]);

yah sure, all of these have definitions higher in the code than their first use. so the prototypes aren't needed. It compiles if you comment out all of these

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10799#discussion_r258491124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190220/d71badbd/attachment.html>


More information about the notifications mailing list