From: Arun Prakash Jana Date: Thu, 24 Aug 2017 14:06:33 +0000 (+0530) Subject: Remove extern ref to add_history() X-Git-Tag: v1.4~36 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=05bb9db9e17c65421a968f2f6c595ed58139dd4d;p=nnn.git Remove extern ref to add_history() --- diff --git a/nnn.c b/nnn.c index 8a7bc98c..6736df95 100644 --- a/nnn.c +++ b/nnn.c @@ -47,6 +47,7 @@ #include #include #include +#include #include #ifndef __USE_XOPEN_EXTENDED #define __USE_XOPEN_EXTENDED 1 @@ -181,11 +182,13 @@ typedef struct { } settings; /* Externs */ +#if 0 #ifdef __APPLE__ extern int add_history(const char *string); #else extern void add_history(const char *string); #endif +#endif extern int wget_wch(WINDOW *win, wint_t *wch);