浏览代码

Remove extern ref to add_history()

master
Arun Prakash Jana 7 年前
父节点
当前提交
05bb9db9e1
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      nnn.c

+ 3
- 0
nnn.c 查看文件

@@ -47,6 +47,7 @@
#include <time.h>
#include <unistd.h>
#include <wchar.h>
#include <readline/history.h>
#include <readline/readline.h>
#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);



||||||
x
 
000:0
正在加载...
取消
保存