summaryrefslogtreecommitdiff
path: root/builtin-revert.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-13 08:42:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-06-13 09:02:10 (GMT)
commit4175e9e3a8734be1e96e385b0fa2428b86ed5809 (patch)
treeeb9ef1b9f3f22a1d21b2918be813c7723b412755 /builtin-revert.c
parentb79d18c92d9f4841a6a1a29b7b2373a8ff9871e1 (diff)
downloadgit-4175e9e3a8734be1e96e385b0fa2428b86ed5809.zip
git-4175e9e3a8734be1e96e385b0fa2428b86ed5809.tar.gz
git-4175e9e3a8734be1e96e385b0fa2428b86ed5809.tar.bz2
More static
There still are quite a few symbols that ought to be static. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-revert.c')
-rw-r--r--builtin-revert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-revert.c b/builtin-revert.c
index 8f02ed7..499bbe7 100644
--- a/builtin-revert.c
+++ b/builtin-revert.c
@@ -25,7 +25,7 @@ static const char *cherry_pick_usage = "git-cherry-pick [--edit] [-n] [-r] [-x]
static int edit;
static int replay;
-enum { REVERT, CHERRY_PICK } action;
+static enum { REVERT, CHERRY_PICK } action;
static int no_commit;
static struct commit *commit;
static int needed_deref;
@@ -129,7 +129,7 @@ static char *get_encoding(const char *message)
return NULL;
}
-struct lock_file msg_file;
+static struct lock_file msg_file;
static int msg_fd;
static void add_to_msg(const char *string)