summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 **);