summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-11-12 21:34:49 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-11-12 21:34:49 +0000
commit13b0631dc99e0e78b876bf22b11c3bc7b14a2fc9 (patch)
treeb9a65448b950a4c4b35c104a7aec4b3b5b4c1f7a /usr.bin/rcs
parentb8d774983f09c3432bb10b1647c44644d9f8e9b9 (diff)
- remove strtab stuff. serves no useful purpose.
diff is from joris@, committing on his behalf because his net connection is very dodgy right now.
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/Makefile4
-rw-r--r--usr.bin/rcs/rcsprog.c6
2 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/rcs/Makefile b/usr.bin/rcs/Makefile
index 525f05e6b99..31d7fb4884e 100644
--- a/usr.bin/rcs/Makefile
+++ b/usr.bin/rcs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.23 2005/10/31 22:56:13 niallo Exp $
+# $OpenBSD: Makefile,v 1.24 2005/11/12 21:34:48 niallo Exp $
.PATH: ${.CURDIR}/../cvs
@@ -6,7 +6,7 @@ PROG= rcs
MAN= ci.1 co.1 ident.1 rcs.1 rcsclean.1 rcsdiff.1 rcsmerge.1 rlog.1
SRCS= ci.c co.c ident.c rcsclean.c rcsdiff.c rcsmerge.c rcsprog.c rlog.c \
- buf.c date.y diff.c diff3.c log.c rcs.c rcsnum.c strtab.c util.c
+ buf.c date.y diff.c diff3.c log.c rcs.c rcsnum.c util.c
CPPFLAGS+=-I${.CURDIR}/../cvs -DRCSPROG
LINKS= ${BINDIR}/rcs ${BINDIR}/ci ${BINDIR}/rcs ${BINDIR}/co \
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index 90ab49d065d..943c01db69c 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.39 2005/11/12 09:42:29 xsa Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.40 2005/11/12 21:34:48 niallo Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -40,7 +40,6 @@
#include "log.h"
#include "rcs.h"
#include "rcsprog.h"
-#include "strtab.h"
#define RCS_CMD_MAXARG 128
@@ -219,7 +218,6 @@ main(int argc, char **argv)
ret = -1;
rcs_optind = 1;
- cvs_strtab_init();
cvs_log_init(LD_STD, 0);
cmd_argc = 0;
@@ -248,8 +246,6 @@ main(int argc, char **argv)
break;
}
- cvs_strtab_cleanup();
-
exit(ret);
}