summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2006-04-01 05:58:17 +0000
committerray <ray@openbsd.org>2006-04-01 05:58:17 +0000
commit713e08f8dbf7cdfee9f17b0b8a30b05f227eb5f5 (patch)
treebee65aa78a859f2ae4018cd7114a7135233baf49 /usr.bin/rcs/rcsprog.c
parentdefault LINTFLAGS add -p; from cloder (diff)
downloadwireguard-openbsd-713e08f8dbf7cdfee9f17b0b8a30b05f227eb5f5.tar.xz
wireguard-openbsd-713e08f8dbf7cdfee9f17b0b8a30b05f227eb5f5.zip
Keep cvs flags in `flags', rcs flags in `rcsflags' in rcsprog.h.
Prevents bitfield pollution between the two. ``This is how it should be.'' niallo@
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r--usr.bin/rcs/rcsprog.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index 97568f280a6..9dbcd9b44f5 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.90 2006/03/28 09:51:09 xsa Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.91 2006/04/01 05:58:17 ray Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -39,12 +39,8 @@ const char rcs_version[] = "OpenCVS RCS version 3.6";
int verbose = 1;
int pipeout = 0;
-#define RCSPROG_EFLAG (1<<0)
-#define RCSPROG_NFLAG (1<<1)
-#define RCSPROG_TFLAG (1<<2)
-static int rcsflags = 0;
-
int flags;
+int rcsflags;
int rcs_optind;
char *rcs_optarg;
char *rcs_suffixes;