aboutsummaryrefslogtreecommitdiffstats
path: root/vgrind
diff options
context:
space:
mode:
Diffstat (limited to 'vgrind')
-rw-r--r--vgrind/Makefile.mk8
-rw-r--r--vgrind/regexp.c4
-rw-r--r--vgrind/vgrind.1.in (renamed from vgrind/vgrind.1)0
-rw-r--r--vgrind/vgrindefs.c5
4 files changed, 15 insertions, 2 deletions
diff --git a/vgrind/Makefile.mk b/vgrind/Makefile.mk
index 9ad1c5eec9e4..148c78438109 100644
--- a/vgrind/Makefile.mk
+++ b/vgrind/Makefile.mk
@@ -5,7 +5,7 @@ FLAGS = $(EUC) -DLIBDIR='"$(LIBDIR)"' $(DEFINES) -I../include
.c.o:
$(CC) $(_CFLAGS) $(FLAGS) -c $<
-all: vgrind vfontedpr
+all: vgrind vfontedpr vgrind.1
vfontedpr: $(OBJ)
$(CC) $(_CFLAGS) $(_LDFLAGS) $(OBJ) $(LIBS) -o vfontedpr
@@ -29,6 +29,10 @@ install:
$(INSTALL) -c -m 644 vgrind.1 $(ROOT)$(MANDIR)/man1/vgrind.1
clean:
- rm -f $(OBJ) vfontedpr vgrind retest retest.o core log *~
+ rm -f $(OBJ) vfontedpr vgrind retest retest.o core log *~ vgrind.1
mrproper: clean
+
+vgrind.1: vgrind.1.in
+ sed -e 's"/usr/ucblib/tmac/"$(ROOT)$(MACDIR)/"' \
+ -e 's"/usr/ucblib/"$(ROOT)$(LIBDIR)/"' vgrind.1.in > $@
diff --git a/vgrind/regexp.c b/vgrind/regexp.c
index 185536b5ceba..3d99f3c0781a 100644
--- a/vgrind/regexp.c
+++ b/vgrind/regexp.c
@@ -17,6 +17,10 @@
#include <string.h>
#include <stdlib.h>
+int STRNCMP(register char *s1, register char *s2, register int len);
+char * expmatch ( register char *s, register char *re, register char *mstring);
+char *convexp( char *re);
+
typedef int boolean;
#define TRUE 1
#define FALSE 0
diff --git a/vgrind/vgrind.1 b/vgrind/vgrind.1.in
index ad907958e01a..ad907958e01a 100644
--- a/vgrind/vgrind.1
+++ b/vgrind/vgrind.1.in
diff --git a/vgrind/vgrindefs.c b/vgrind/vgrindefs.c
index 560b45aab43a..31984b260259 100644
--- a/vgrind/vgrindefs.c
+++ b/vgrind/vgrindefs.c
@@ -40,6 +40,11 @@
* doesn't, and because living w/o it is not hard.
*/
+int tgetent(char *bp, char *name, char *file);
+int tgetnum(char *id);
+int tgetflag(char *id);
+char * tgetstr(char *id, char **area);
+
static char *tbuf;
static char *filename;
static int hopcount; /* detect infinite loops in termcap, init 0 */