summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/readline.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/readline.c b/source3/lib/readline.c
index f7ef40b001..2475017adf 100644
--- a/source3/lib/readline.c
+++ b/source3/lib/readline.c
@@ -88,7 +88,7 @@ char *smb_readline(char *prompt, void (*callback)(void),
/****************************************************************************
history
****************************************************************************/
-void cmd_history(void)
+int cmd_history(void)
{
#if defined(HAVE_LIBREADLINE)
HIST_ENTRY **hlist;
@@ -102,4 +102,6 @@ void cmd_history(void)
#else
DEBUG(0,("no history without readline support\n"));
#endif
+
+ return 0;
}