__attribute__ noreturn can only be used in function declations.
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 3 Jan 2006 23:43:24 +0000 (23:43 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 3 Jan 2006 23:43:24 +0000 (23:43 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16938 f5534014-38df-0310-8fa8-9805f1628bb7

dumpcap.c

index 45eec628eea9706ce3d4d0b7e40f2828c88b6384..4e7052e471291370541c5253e022f56516ae065b 100644 (file)
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -212,6 +212,7 @@ BOOL WINAPI ConsoleCtrlHandlerRoutine(DWORD dwCtrlType)
 
 #if __GNUC__ >= 2
 void exit_main(int err) __attribute__ ((noreturn));
+void exit_main(int err)
 #else
 void exit_main(int err)
 #endif