summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2017-02-22 21:24:03 -0500
committerPhil Pennock <pdp@exim.org>2017-02-22 21:24:03 -0500
commitf6f4a58dcac2a21f4104bb8d7e580e90ba6bf3f4 (patch)
treecedd09e1d9ed674886664153737cbd7b65dbedc7
parentb7e8c96e9bfd6fe9505230359138f59b731054e5 (diff)
Move bdat_ungetc decl to hdr ∵ receive.c uses too
-rw-r--r--src/src/functions.h1
-rw-r--r--src/src/smtp_in.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/src/functions.h b/src/src/functions.h
index 2ff6017d8..722fbf9d5 100644
--- a/src/src/functions.h
+++ b/src/src/functions.h
@@ -104,6 +104,7 @@ extern int auth_xtextdecode(uschar *, uschar **);
extern uschar *b64encode(uschar *, int);
extern int b64decode(uschar *, uschar **);
extern int bdat_getc(unsigned);
+extern int bdat_ungetc(int);
extern void bdat_flush_data(void);
extern void bits_clear(unsigned int *, size_t, int *);
diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c
index db684a646..4cda753e8 100644
--- a/src/src/smtp_in.c
+++ b/src/src/smtp_in.c
@@ -304,7 +304,6 @@ static int smtp_had_error;
/* forward declarations */
-int bdat_ungetc(int ch);
static int smtp_read_command(BOOL check_sync, unsigned buffer_lim);
static int synprot_error(int type, int code, uschar *data, uschar *errmess);
static void smtp_quit_handler(uschar **, uschar **);