Code

increase portability of NORETURN declarations
authorErik Faye-Lund <kusmabite@googlemail.com>
Wed, 30 Sep 2009 18:05:49 +0000 (18:05 +0000)
committerJeff King <peff@peff.net>
Thu, 1 Oct 2009 08:12:21 +0000 (04:12 -0400)
commita4f3131c07c1f601be1e24b2143ca7e2deea09b5
tree2586a271cd7cd125af045dff2a741b5d7e7c6a23
parent1be224ba6e99f0ab34c998d7fa8023b76a15c8b6
increase portability of NORETURN declarations

Some compilers (including at least MSVC) support NORETURN
on function declarations, but only before the function-name.

This patch makes it possible to define NORETURN to something
meaningful for those compilers.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
git-compat-util.h
index-pack.c
usage.c