diff options
author | Timo Hirvonen <tihirvon@gmail.com> | 2005-11-21 02:52:52 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-20 22:14:16 -0800 |
commit | bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278 (patch) | |
tree | dd1fe80dd0120cfcb2f551d6a4bf88bebe29ce8b /cache.h | |
parent | 8fc66df237afce0b4318657f166b3583831949f3 (diff) | |
download | git-bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278.tar.gz git-bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |