diff options
-rw-r--r-- | src/src/functions.h | 2 | ||||
-rw-r--r-- | src/src/string.c | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/src/functions.h b/src/src/functions.h index e50fa6f92..0c34113f8 100644 --- a/src/src/functions.h +++ b/src/src/functions.h @@ -205,8 +205,6 @@ extern BOOL filter_system_interpret(address_item **, uschar **); extern uschar * fn_hdrs_added(void); -extern void gstring_grow(gstring *, int, int); - extern void header_add(int, const char *, ...); extern int header_checkname(header_line *, BOOL); extern BOOL header_match(uschar *, BOOL, BOOL, string_item *, int, ...); diff --git a/src/src/string.c b/src/src/string.c index 81aacb94b..63ea88eec 100644 --- a/src/src/string.c +++ b/src/src/string.c @@ -1077,7 +1077,13 @@ return g->s; * Add chars to string * *************************************************/ -void +/* Arguments: + g the grawable-string + p current end of data + count amount to grow by +*/ + +static void gstring_grow(gstring * g, int p, int count) { int oldsize = g->size; |