summaryrefslogtreecommitdiff
path: root/include/fmt.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/fmt.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/fmt.h')
-rw-r--r--include/fmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fmt.h b/include/fmt.h
index eb8b8b8..41acaa1 100644
--- a/include/fmt.h
+++ b/include/fmt.h
@@ -11,7 +11,7 @@
#define FMT_ULONG 40 /* enough space to hold 2^128 - 1 in decimal, plus \0 */
#define FMT_LEN ((char *)0) /* convenient abbreviation */
-extern unsigned int fmt_str(char *, char *);
+extern unsigned int fmt_str(char *, const char *);
extern unsigned int fmt_strn(char *, char *, unsigned int);
extern unsigned int fmt_uint(char *, unsigned int);
extern unsigned int fmt_uint0(char *, unsigned int, unsigned int);