diff options
author | Timo Hirvonen <tihirvon@gmail.com> | 2006-02-26 17:13:46 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-26 15:06:45 -0800 |
commit | 962554c616e30991553c8497ed1e7c2a415fa84d (patch) | |
tree | 710390ca470a4a203635d3ce6f48bc426a99bfb3 /fsck-objects.c | |
parent | 3c0b7511cdadd04690208d9772fdbd6a86496229 (diff) | |
download | git-962554c616e30991553c8497ed1e7c2a415fa84d.tar.gz |
Use setenv(), fix warnings
- Fix -Wundef -Wold-style-definition warnings
- Make pll_free() static
[jc: original patch by Timo had another unrelated bits:
- Use setenv() instead of putenv()
I'm postponing that part for now.]
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fsck-objects.c')
-rw-r--r-- | fsck-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck-objects.c b/fsck-objects.c index 6439d55126..4ddd67699c 100644 --- a/fsck-objects.c +++ b/fsck-objects.c @@ -20,7 +20,7 @@ static int check_strict = 0; static int keep_cache_objects = 0; static unsigned char head_sha1[20]; -#if NO_D_INO_IN_DIRENT +#ifdef NO_D_INO_IN_DIRENT #define SORT_DIRENT 0 #define DIRENT_SORT_HINT(de) 0 #else |