summaryrefslogtreecommitdiff
path: root/include/constmap.h
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-09 16:05:46 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-09 16:05:46 +0200
commit08ce54211ce4b8d6092321ca1b28773a680ddc45 (patch)
tree9cf7eb2702a408743d59e207e24f8fb1e5ada31d /include/constmap.h
parent795ffc5e62e8ba383575dbcd9943a580d4bd3358 (diff)
Added missing function prototype signatures.
Corrected socket_broadcast name to socket_broadcast4 in socket_if.h. Added const to fmt_str.
Diffstat (limited to 'include/constmap.h')
-rw-r--r--include/constmap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/constmap.h b/include/constmap.h
index 0a43e98..4d5e2d3 100644
--- a/include/constmap.h
+++ b/include/constmap.h
@@ -13,9 +13,9 @@ struct constmap {
int *inputlen;
};
-int constmap_init(struct constmap *, char *, int, int);
-int constmap_init_char(struct constmap *, char *, int, int, char);
-void constmap_free();
-char *constmap();
+extern int constmap_init(struct constmap *, char *, int, int);
+extern int constmap_init_char(struct constmap *, char *, int, int, char);
+extern void constmap_free(struct constmap *);
+extern char *constmap(struct constmap *cm, char *s, int len);
#endif