summaryrefslogtreecommitdiff
path: root/include/alloc.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/alloc.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/alloc.h')
-rw-r--r--include/alloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/alloc.h b/include/alloc.h
index 4fec2c2..ecfe02a 100644
--- a/include/alloc.h
+++ b/include/alloc.h
@@ -1,9 +1,9 @@
#ifndef ALLOC_H
#define ALLOC_H
-extern /*@null@*/ /*@out@*/ char *alloc();
-extern void alloc_free();
-extern int alloc_re();
+extern void *alloc(unsigned int);
+extern void alloc_free(void *);
+extern int alloc_re(void *, unsigned int, unsigned int);
/* use these names in the future */
#define qfree alloc_free