diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-06-13 01:42:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-13 02:02:10 -0700 |
commit | 4175e9e3a8734be1e96e385b0fa2428b86ed5809 (patch) | |
tree | eb9ef1b9f3f22a1d21b2918be813c7723b412755 /builtin-revert.c | |
parent | b79d18c92d9f4841a6a1a29b7b2373a8ff9871e1 (diff) | |
download | git-4175e9e3a8734be1e96e385b0fa2428b86ed5809.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-revert.c b/builtin-revert.c index 8f02ed7bd1..499bbe7343 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) |