From 08ce54211ce4b8d6092321ca1b28773a680ddc45 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann 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/byte.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/byte.h') diff --git a/include/byte.h b/include/byte.h index 3886127..836e8ca 100644 --- a/include/byte.h +++ b/include/byte.h @@ -8,13 +8,13 @@ @comment no declaration of argument types; too many compiler errors */ -extern unsigned int byte_chr(); -extern unsigned int byte_rchr(); -extern void byte_copy(); -extern void byte_copyr(); -extern int byte_diff(); -extern void byte_zero(); -extern void byte_fill(); +extern unsigned int byte_chr(char *, unsigned int, int); +extern unsigned int byte_rchr(char *, unsigned int, int); +extern void byte_copy(void *, unsigned int, const void *); +extern void byte_copyr(void *, unsigned int, const void *); +extern int byte_diff(const void *, unsigned int, const void *); +extern void byte_zero(void *, unsigned int); +extern void byte_fill(void *, unsigned int, int); #define byte_equal(s, n, t) (!byte_diff((s), (n), (t))) -- cgit v1.2.3