diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-01-05 22:27:25 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-01-05 22:27:25 +0000 |
commit | 4f3c493e1d2fb30c00be9d9135dad13a7003fea5 (patch) | |
tree | 3e5788d432456b4289c58fa07ac1d41ee4f03bb4 | |
parent | eae47c79c1a8247469e2783d242ec603622dbe2f (diff) | |
download | wireshark-4f3c493e1d2fb30c00be9d9135dad13a7003fea5.tar.gz wireshark-4f3c493e1d2fb30c00be9d9135dad13a7003fea5.tar.bz2 wireshark-4f3c493e1d2fb30c00be9d9135dad13a7003fea5.zip |
cleanup of exit_main() declaration
svn path=/trunk/; revision=16960
-rw-r--r-- | dumpcap.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -84,6 +84,12 @@ console_log_handler(const char *log_domain, GLogLevelFlags log_level, capture_options global_capture_opts; capture_options *capture_opts = &global_capture_opts; +#if __GNUC__ >= 2 +void exit_main(int err) __attribute__ ((noreturn)); +#else +void exit_main(int err); +#endif + static void @@ -210,12 +216,7 @@ BOOL WINAPI ConsoleCtrlHandlerRoutine(DWORD dwCtrlType) } #endif -#if __GNUC__ >= 2 -void exit_main(int err) __attribute__ ((noreturn)); void exit_main(int err) -#else -void exit_main(int err) -#endif { #ifdef _WIN32 /* Shutdown windows sockets */ |