Add noreturn declaration compatible with the MSVC compiler.
commit73c4dd9253f8d43c436fc88e64096910f4f1b8ee
authorJulio Espinoza-Sokal <julioes@gmail.com>
Tue, 16 Jun 2009 01:26:02 +0000 (15 21:26 -0400)
committerAndreas Ericsson <ae@op5.se>
Tue, 16 Jun 2009 09:40:14 +0000 (16 11:40 +0200)
tree9bdf5bf0bb8dfa08e11ea902931100c4605d1d09
parentc79dded300f279a6d8660b13f4fca3c684533449
Add noreturn declaration compatible with the MSVC compiler.

MSVC provides a compiler declaration to declare that a function
never returns. This declaration is required in front of the
function definition rather than at the end, but fortunately gcc
is compatible with this location as well.

Explicit returns are no longer required after calls to test_die.

Signed-off-by: Julio Espinoza-Sokal <julioes@gmail.com>
Signed-off-by: Andreas Ericsson <ae@op5.se>
tests/t0020-dirent.c
tests/test_lib.h