From 08ce54211ce4b8d6092321ca1b28773a680ddc45 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann <jannis@fehcom.de> Date: Tue, 9 Jul 2024 16:05:46 +0200 Subject: Added missing function prototype signatures. Corrected socket_broadcast name to socket_broadcast4 in socket_if.h. Added const to fmt_str. --- include/fmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fmt.h') 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); -- cgit v1.2.3