obstack.c: Fix some sparse warnings
authorRamsay Jones <redacted>
Sun, 11 Sep 2011 19:26:53 +0000 (20:26 +0100)
committerJunio C Hamano <redacted>
Sun, 11 Sep 2011 21:43:33 +0000 (14:43 -0700)
commit3254310863d6964f5b750a373b9e5598ce529381
treed40e4be02081326a14e065df4004d22930fb60a5
parenta946ef55f779cfbc9a33f79012ff4d4ed680b5c3
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/obstack.c
git clone https://git.99rst.org/PROJECT