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-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/f6f4a58dcac2a21f4104bb8d7e580e90ba6bf3f4 Move bdat_ungetc decl to hdr ∵ receive.c uses too --- 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 **);