obstack.c: Fix some sparse warnings
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Sun, 11 Sep 2011 19:26:53 +0000 (20:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
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 <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/obstack.c