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 /path.c | |
parent | 8fc66df237afce0b4318657f166b3583831949f3 (diff) | |
download | git-bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278.tar.gz |
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 'path.c')
-rw-r--r-- | path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ int validate_symref(const char *path) return -1; } -static char *current_dir() +static char *current_dir(void) { return getcwd(pathname, sizeof(pathname)); } |