summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorTimo Hirvonen <tihirvon@gmail.com>2005-11-21 00:52:52 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-21 06:14:16 (GMT)
commitbd22c904a0f1c88a3a7bfa96bbf690de2f5cb278 (patch)
treedd1fe80dd0120cfcb2f551d6a4bf88bebe29ce8b /cache.h
parent8fc66df237afce0b4318657f166b3583831949f3 (diff)
downloadgit-bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278.zip
git-bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278.tar.gz
git-bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278.tar.bz2
Fix sparse warnings
Make some functions static and convert func() function prototypes to to func(void). Fix declaration after statement, missing declaration and redundant declaration warnings. Signed-off-by: Timo Hirvonen <tihirvon@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index a7c1bbd..c7c6637 100644
--- a/cache.h
+++ b/cache.h
@@ -203,6 +203,7 @@ int git_mkstemp(char *path, size_t n, const char *template);
int safe_create_leading_directories(char *path);
char *safe_strncpy(char *, const char *, size_t);
+char *enter_repo(char *path, int strict);
/* Read and unpack a sha1 file into memory, write memory to a sha1 file */
extern int unpack_sha1_header(z_stream *stream, void *map, unsigned long mapsize, void *buffer, unsigned long size);