summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-12-27 13:59:02 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-12-27 13:59:02 +0000
commit92ff957e32056877605c5dbbfb38c3b8c2be82ec (patch)
treec5fe923a1150a724f412f2ab3cedd7caad9a20db /usr.bin/cvs/commit.c
parent4c45991971650c26baa47a3a0de6a92780a64dc1 (diff)
Move some global variables/statics to locals, from Michael W
Bombardieri.
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r--usr.bin/cvs/commit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c
index 3ddb807c817..a1520984789 100644
--- a/usr.bin/cvs/commit.c
+++ b/usr.bin/cvs/commit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: commit.c,v 1.151 2011/04/20 18:41:40 nicm Exp $ */
+/* $OpenBSD: commit.c,v 1.152 2011/12/27 13:59:01 nicm Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -44,10 +44,11 @@ struct cvs_flisthead files_added;
struct cvs_flisthead files_removed;
struct cvs_flisthead files_modified;
-int conflicts_found;
char *logmsg = NULL;
char *loginfo = NULL;
+static int conflicts_found;
+
struct cvs_cmd cvs_cmd_commit = {
CVS_OP_COMMIT, CVS_USE_WDIR | CVS_LOCK_REPO, "commit",
{ "ci", "com" },