author | Erik Faye-Lund <kusmabite@googlemail.com> | |
Wed, 30 Sep 2009 18:05:50 +0000 (18:05 +0000) | ||
committer | Jeff King <peff@peff.net> | |
Thu, 1 Oct 2009 08:12:21 +0000 (04:12 -0400) | ||
commit | 18660bc96ec0419cc096a53998d3197f2b905e8a | |
tree | 58038677551d5500049b48019bfe8debf904e2cb | tree | snapshot |
parent | a4f3131c07c1f601be1e24b2143ca7e2deea09b5 | commit | diff |
add NORETURN_PTR for function pointers
Some compilers (including at least MSVC and ARM RVDS) supports
NORETURN on function declarations, but not on function pointers.
This patch makes it possible to define NORETURN for these compilers,
by splitting the NORETURN macro into two - one for function
declarations and one for function pointers.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Some compilers (including at least MSVC and ARM RVDS) supports
NORETURN on function declarations, but not on function pointers.
This patch makes it possible to define NORETURN for these compilers,
by splitting the NORETURN macro into two - one for function
declarations and one for function pointers.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
git-compat-util.h | diff | blob | history | |
usage.c | diff | blob | history |