diff options
author | Fredrik Kuivinen <frekui@gmail.com> | 2011-08-28 22:08:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-28 22:03:26 -0700 |
commit | d190a0875ff0f33d60a4d7265f2098b35d162f68 (patch) | |
tree | 6fe98fa333137aa28150f2fa3c88cff1558c03c4 /templates/hooks--prepare-commit-msg.sample | |
parent | 9eceddeec6ccdbcb0c6ce02a45357ffd5a428f39 (diff) | |
download | git-d190a0875ff0f33d60a4d7265f2098b35d162f68.tar.gz git-d190a0875ff0f33d60a4d7265f2098b35d162f68.tar.xz |
obstack: Fix portability issues
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1, SunOS 5.10, and possibly
others do not have exit.h and exitfail.h. Remove the use of these in
obstack.c.
The __block variable was renamed to block to avoid a gcc error:
compat/obstack.h:190: error: __block attribute can be specified on variables only
Initial-patch-by: David Aguilar <davvid@gmail.com>
Reported-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Fredrik Kuivinen <frekui@gmail.com>
Acked-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--prepare-commit-msg.sample')
0 files changed, 0 insertions, 0 deletions