summaryrefslogtreecommitdiff
path: root/src/fmt.c
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 /src/fmt.c
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 'src/fmt.c')
-rw-r--r--src/fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt.c b/src/fmt.c
index 77a3c93..e904bd3 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -7,7 +7,7 @@
@brief formating differnt inputs format for output printing
*/
-unsigned int fmt_str(char *s, char *t)
+unsigned int fmt_str(char *s, const char *t)
{
unsigned int len;
char ch;