1
0
mirror of https://github.com/git/git.git synced 2024-10-20 21:38:38 +02:00
git/compat
Ramsay Jones 3254310863 obstack.c: Fix some sparse warnings
In particular, sparse issues the following warnings:

    compat/obstack.c:176:17: warning: Using plain integer as NULL pointer
    compat/obstack.c:224:17: warning: Using plain integer as NULL pointer
    compat/obstack.c:324:16: warning: Using plain integer as NULL pointer
    compat/obstack.c:329:16: warning: Using plain integer as NULL pointer
    compat/obstack.c:347:16: warning: Using plain integer as NULL pointer
    compat/obstack.c:362:19: warning: Using plain integer as NULL pointer
    compat/obstack.c:379:29: warning: Using plain integer as NULL pointer
    compat/obstack.c:399:1: error: symbol 'print_and_abort' redeclared with \
        different type (originally declared at compat/obstack.c:95) \
        - different modifiers

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-09-11 14:43:33 -07:00
..
fnmatch compat/fnmatch/fnmatch.c: give a fall-back definition for NULL 2011-05-26 09:25:47 -07:00
nedmalloc remove doubled words, e.g., s/to to/to/, and fix related typos 2011-04-13 11:59:11 -07:00
regex
vcbuild Merge branch 'rj/msvc-fix' 2010-12-16 12:55:36 -08:00
win32 Merge branch 'rj/msvc-fix' 2010-12-16 12:55:36 -08:00
basename.c
bswap.h compat: make gcc bswap an inline function 2011-03-16 12:44:59 -07:00
cygwin.c Merge branch 'jc/maint-cygwin-trust-executable-bit-default' 2011-07-13 14:31:36 -07:00
cygwin.h
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mingw.c Merge branch 'js/i18n-windows' 2011-06-29 17:03:13 -07:00
mingw.h Merge branch 'ef/maint-win-verify-path' 2011-06-29 17:09:17 -07:00
mkdtemp.c
mmap.c
msvc.c
msvc.h compat: provide a fallback va_copy definition 2011-02-26 01:06:50 -08:00
obstack.c obstack.c: Fix some sparse warnings 2011-09-11 14:43:33 -07:00
obstack.h obstack: Fix portability issues 2011-08-28 22:03:26 -07:00
pread.c
qsort.c
setenv.c
snprintf.c
strcasestr.c
strlcpy.c
strtok_r.c
strtoumax.c
unsetenv.c
win32.h
win32mmap.c
winansi.c