Mark functions with attribute noreturn
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 8 Feb 2012 22:32:31 +0000 (20:32 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 8 Feb 2012 22:32:31 +0000 (20:32 -0200)
commit32d29b352338e5f01641eed08ab94d79d943e707
tree740905d0c68a066635a471c210e4a8284d90b6e3
parentd005aeb7529ab690c7b7119f0ef545e2c07a1cea
Mark functions with attribute noreturn

Functions that always call exit() should be marked with attribute
noreturn. With glibc this is not necessary, but it fails to compile with
uClibc otherwise.
testsuite/test-init.c
testsuite/test-modinfo.c
testsuite/test-modprobe.c
testsuite/test-testsuite.c
testsuite/testsuite.h