Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clean: use f(void) instead of f() to declare a pointer to a function without arguments
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index 58fee9874f0fea4ed52acf31f757268be5383267..035ab649504d69a83f87b854582c8003a2dcb905 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-387,7
+387,7
@@
static void clone_local(const char *src_repo, const char *dest_repo)
static const char *junk_work_tree;
static const char *junk_git_dir;
static pid_t junk_pid;
-enum {
+
static
enum {
JUNK_LEAVE_NONE,
JUNK_LEAVE_REPO,
JUNK_LEAVE_ALL