summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/genalloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/genalloc.h b/include/genalloc.h
index 351fb98..ebeef9f 100644
--- a/include/genalloc.h
+++ b/include/genalloc.h
@@ -48,7 +48,7 @@
/* file: gen_allocdefs.h (deprecated) */
// used in: ipalloc, prioq, qmail-remote, qmail-inject, token822
#define GEN_ALLOC_ready(ta, type, field, len, a, i, n, x, base, ta_ready) \
- int ta_ready(ta *x, unsigned int n) \
+ static int ta_ready(ta *x, unsigned int n) \
{ \
unsigned int i; \
if (x->field) { \
@@ -66,7 +66,7 @@
}
#define GEN_ALLOC_readyplus(ta, type, field, len, a, i, n, x, base, ta_rplus) \
- int ta_rplus(ta *x, unsigned int n) \
+ static int ta_rplus(ta *x, unsigned int n) \
{ \
unsigned int i; \
if (x->field) { \
@@ -85,7 +85,7 @@
}
#define GEN_ALLOC_append(ta, type, field, len, a, i, n, x, base, ta_rplus, ta_append) \
- int ta_append(ta *x, type *i) \
+ static int ta_append(ta *x, type *i) \
{ \
if (!ta_rplus(x, 1)) return 0; \
x->field[x->len++] = *i; \