From 938593e9ad0825a25793da32b391a3a2f1d6bcd1 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 25 Nov 2017 21:05:53 +0000 Subject: [PATCH] tidying --- src/src/functions.h | 2 -- 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; -- 2.25.1