Commit dc5e2c6a dc5e2c6a78faf0abbaad67ffb5a5b76ead594070 by Sam Roberts

Silenced warnings that can appear depending on the presence of

readline, and various terminal APIs.
1 parent d37c61a6
......@@ -17,8 +17,10 @@
#include "mail.h"
#ifdef WITH_READLINE
static char **ml_command_completion __P((char *cmd, int start, int end));
static char *ml_command_generator __P((const char *text, int state));
#endif
static volatile int _interrupted;
......@@ -254,8 +256,10 @@ ml_command_generator (const char *text, int state)
#include <sys/ioctl.h>
#define STDOUT 1
#ifndef TIOCSTI
static int ch_erase;
static int ch_kill;
#endif
#if defined(TIOCSTI)
#elif defined(HAVE_TERMIOS_H)
......