aboutsummaryrefslogtreecommitdiff
path: root/pkt-line.h
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@googlemail.com>2009-09-30 18:05:50 +0000
committerJeff King <peff@peff.net>2009-10-01 04:12:21 -0400
commit18660bc96ec0419cc096a53998d3197f2b905e8a (patch)
tree58038677551d5500049b48019bfe8debf904e2cb /pkt-line.h
parenta4f3131c07c1f601be1e24b2143ca7e2deea09b5 (diff)
downloadgit-18660bc96ec0419cc096a53998d3197f2b905e8a.tar.gz
git-18660bc96ec0419cc096a53998d3197f2b905e8a.tar.xz
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>
Diffstat (limited to 'pkt-line.h')
0 files changed, 0 insertions, 0 deletions