summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-12-27 13:59:01 +0000
committernicm <nicm@openbsd.org>2011-12-27 13:59:01 +0000
commit63c546bc11aa5e827e9a3d21d248bc49037cf162 (patch)
treeff86b151822f53be44140019c9cb935400243750 /usr.bin/cvs/annotate.c
parentExtend history that can be captured to INT_MIN rather than (diff)
downloadwireguard-openbsd-63c546bc11aa5e827e9a3d21d248bc49037cf162.tar.xz
wireguard-openbsd-63c546bc11aa5e827e9a3d21d248bc49037cf162.zip
Move some global variables/statics to locals, from Michael W
Bombardieri.
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r--usr.bin/cvs/annotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c
index b5e391f352b..f00ecc1fb12 100644
--- a/usr.bin/cvs/annotate.c
+++ b/usr.bin/cvs/annotate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: annotate.c,v 1.62 2010/07/30 21:47:18 ray Exp $ */
+/* $OpenBSD: annotate.c,v 1.63 2011/12/27 13:59:01 nicm Exp $ */
/*
* Copyright (c) 2007 Tobias Stoeckmann <tobias@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -32,7 +32,6 @@ void cvs_annotate_local(struct cvs_file *);
extern char *cvs_specified_tag;
-static char *dateflag;
static int force_head = 0;
struct cvs_cmd cvs_cmd_annotate = {
@@ -60,6 +59,7 @@ cvs_annotate(int argc, char **argv)
{
int ch, flags;
char *arg = ".";
+ char *dateflag = NULL;
struct cvs_recursion cr;
flags = CR_RECURSE_DIRS;