mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Remove extern ref to add_history()
This commit is contained in:
parent
08b5fc8231
commit
05bb9db9e1
3
nnn.c
3
nnn.c
|
@ -47,6 +47,7 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
#include <readline/history.h>
|
||||||
#include <readline/readline.h>
|
#include <readline/readline.h>
|
||||||
#ifndef __USE_XOPEN_EXTENDED
|
#ifndef __USE_XOPEN_EXTENDED
|
||||||
#define __USE_XOPEN_EXTENDED 1
|
#define __USE_XOPEN_EXTENDED 1
|
||||||
|
@ -181,11 +182,13 @@ typedef struct {
|
||||||
} settings;
|
} settings;
|
||||||
|
|
||||||
/* Externs */
|
/* Externs */
|
||||||
|
#if 0
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
extern int add_history(const char *string);
|
extern int add_history(const char *string);
|
||||||
#else
|
#else
|
||||||
extern void add_history(const char *string);
|
extern void add_history(const char *string);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
extern int wget_wch(WINDOW *win, wint_t *wch);
|
extern int wget_wch(WINDOW *win, wint_t *wch);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue