aboutsummaryrefslogtreecommitdiff
path: root/fsck-objects.c
diff options
context:
space:
mode:
authorPeter Hagervall <hager@cs.umu.se>2005-09-28 14:04:54 +0200
committerJunio C Hamano <junkio@cox.net>2005-09-28 16:38:52 -0700
commita7928f8ec7fb3c368e6086ab48f41e33a22e1b94 (patch)
tree0b06ca974f9c5a5a3640f3b4b506e8117b7b5daf /fsck-objects.c
parent5acb6de13d7af33abcfcbdc885ec365e6a51c486 (diff)
downloadgit-a7928f8ec7fb3c368e6086ab48f41e33a22e1b94.tar.gz
git-a7928f8ec7fb3c368e6086ab48f41e33a22e1b94.tar.xz
[PATCH] Make some needlessly global stuff static
Insert 'static' where appropriate. Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fsck-objects.c')
-rw-r--r--fsck-objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fsck-objects.c b/fsck-objects.c
index b82685fd7..247edf052 100644
--- a/fsck-objects.c
+++ b/fsck-objects.c
@@ -30,7 +30,7 @@ static void objreport(struct object *obj, const char *severity,
fputs("\n", stderr);
}
-int objerror(struct object *obj, const char *err, ...)
+static int objerror(struct object *obj, const char *err, ...)
{
va_list params;
va_start(params, err);
@@ -39,7 +39,7 @@ int objerror(struct object *obj, const char *err, ...)
return -1;
}
-int objwarning(struct object *obj, const char *err, ...)
+static int objwarning(struct object *obj, const char *err, ...)
{
va_list params;
va_start(params, err);