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

José Alamos notifications at github.com
Wed Feb 20 15:18:32 CET 2019

jia200x 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[]);

I don't think there's something wrong with having the prototypes here. In case the functions are touched, there might be some cases where a function is not reached. Also, it doesn't increase binary size nor readability.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190220/dc61c551/attachment.html>

More information about the notifications mailing list