pkgsrc/net/tinyfugue/patches/patch-ad
2006-06-20 03:37:04 +00:00

23 lines
918 B
Text

$NetBSD: patch-ad,v 1.1 2006/06/20 03:37:04 minskim Exp $
--- src/history.c.orig 1999-03-06 14:43:24.000000000 -0800
+++ src/history.c
@@ -38,18 +38,6 @@
#define LOCALSIZE 100 /* local history size */
#define INPUTSIZE 100 /* command history buffer size */
-typedef struct History { /* circular list of Alines, and logfile */
- struct Aline **alines;
- int size; /* actual number of lines currently saved */
- int maxsize; /* maximum number of lines that can be saved */
- int first; /* position of first line in circular array */
- int last; /* position of last line in circular array */
- int index; /* current recall position */
- int total; /* total number of lines ever saved */
- TFILE *logfile;
- CONST char *logname;
-} History;
-
#define empty(hist) (!(hist)->alines || !(hist)->size)
static void FDECL(alloc_history,(History *hist, int maxsize));