diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-09 16:05:46 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-09 16:05:46 +0200 |
commit | 08ce54211ce4b8d6092321ca1b28773a680ddc45 (patch) | |
tree | 9cf7eb2702a408743d59e207e24f8fb1e5ada31d /include/byte.h | |
parent | 795ffc5e62e8ba383575dbcd9943a580d4bd3358 (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/byte.h')
-rw-r--r-- | include/byte.h | 14 |
1 files changed, 7 insertions, 7 deletions
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))) |