From: Phil Pennock Date: Thu, 23 Feb 2017 02:24:03 +0000 (-0500) Subject: Move bdat_ungetc decl to hdr ∵ receive.c uses too X-Git-Tag: exim-4_89_RC7~10 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/6746d0915085f27fa12f4ad9d8fa215803b2154b Move bdat_ungetc decl to hdr ∵ receive.c uses too (cherry picked from commit f6f4a58dcac2a21f4104bb8d7e580e90ba6bf3f4) Signed-off-by: Phil Pennock --- diff --git a/src/src/functions.h b/src/src/functions.h index 0fc69e4eb..ce89c0b44 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 5461104b2..1b45f84d9 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 **);