forked from speedie/spmenu
Remove history.h
This commit is contained in:
parent
3bc8d85937
commit
dd58bcdb74
|
@ -1,5 +1,9 @@
|
||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
|
static char **history;
|
||||||
|
static size_t histsz, histpos;
|
||||||
|
static void savehistory(char *input);
|
||||||
|
|
||||||
void loadhistory(void) {
|
void loadhistory(void) {
|
||||||
FILE *fp = NULL;
|
FILE *fp = NULL;
|
||||||
static size_t cap = 0;
|
static size_t cap = 0;
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
/* See LICENSE file for copyright and license details. */
|
|
||||||
|
|
||||||
static char *histfile;
|
|
||||||
static char **history;
|
|
||||||
static size_t histsz, histpos;
|
|
||||||
static void savehistory(char *input);
|
|
|
@ -111,6 +111,7 @@ static int overridelines = 1; /* Allow overriding lines using keyb
|
||||||
static int overridecolumns = 1; /* Allow overriding columns using keybinds */
|
static int overridecolumns = 1; /* Allow overriding columns using keybinds */
|
||||||
|
|
||||||
/* History options */
|
/* History options */
|
||||||
|
static char *histfile = NULL; /* History file, NULL means no history file */
|
||||||
static int maxhist = 64; /* Max number of history entries */
|
static int maxhist = 64; /* Max number of history entries */
|
||||||
static int histdup = 0; /* If 1, record repeated histories */
|
static int histdup = 0; /* If 1, record repeated histories */
|
||||||
|
|
||||||
|
|
1
spmenu.c
1
spmenu.c
|
@ -180,7 +180,6 @@ static size_t listsize;
|
||||||
#include "libs/x11/inc.h"
|
#include "libs/x11/inc.h"
|
||||||
#include "libs/wl/inc.h"
|
#include "libs/wl/inc.h"
|
||||||
#include "libs/sort.h"
|
#include "libs/sort.h"
|
||||||
#include "libs/history.h"
|
|
||||||
|
|
||||||
static char *fonts[] = { font };
|
static char *fonts[] = { font };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue