summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-11-25 21:05:53 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-11-25 21:05:53 +0000
commit938593e9ad0825a25793da32b391a3a2f1d6bcd1 (patch)
tree44a2e3cacb1e485da4bba23b5773bbde9aaaf219 /src
parent459fca581ce9f1215a96885852b912558cdc9c63 (diff)
tidying
Diffstat (limited to 'src')
-rw-r--r--src/src/functions.h2
-rw-r--r--src/src/string.c8
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;