summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-10-18 04:34:08 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-10-18 04:34:08 +0000
commit44f134c47515d8a77c163038e80e34fce697cd3b (patch)
treec57e556ef0807445cbfc95055128b7faccae19d6
parent0a0c8000ab0a9da849304b9fe19440c4fd669b94 (diff)
Make "CVSroot" available to parseopts()
-rw-r--r--gnu/usr.bin/cvs/src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/src/main.c b/gnu/usr.bin/cvs/src/main.c
index 5e1f000a690..0e4e48639fb 100644
--- a/gnu/usr.bin/cvs/src/main.c
+++ b/gnu/usr.bin/cvs/src/main.c
@@ -46,6 +46,8 @@ mode_t cvsumask = UMASK_DFLT;
char *CurDir;
+static char *CVSroot = CVSROOT_DFLT;
+
/*
* Defaults, for the environment variables that are not set
*/
@@ -302,7 +304,6 @@ main (argc, argv)
int argc;
char **argv;
{
- char *CVSroot = CVSROOT_DFLT;
extern char *version_string;
extern char *config_string;
char *cp, *end;