diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-02-17 23:11:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-02-17 23:11:49 +0000 |
commit | b4f663a29bc1c9168108538d27c427a58c593668 (patch) | |
tree | 6507c1b3f0ac0ace859a109a49addbf4bc1f9c26 /dumpcap.c | |
parent | dae52000024e82dbb5ca4d1cf573b95d9a831330 (diff) |
On Windows, try putting __declspec(noreturn) in front of declarations of
routines that don't return. (This requires that some files include
config.h to get WS_MSVC_NORETURN declared properly.)
svn path=/trunk/; revision=35989
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -324,7 +324,7 @@ static void capture_loop_packet_cb(u_char *user, const struct pcap_pkthdr *phdr, static void capture_loop_get_errmsg(char *errmsg, int errmsglen, const char *fname, int err, gboolean is_close); -static void exit_main(int err) G_GNUC_NORETURN; +static void WS_MSVC_NORETURN exit_main(int err) G_GNUC_NORETURN; static void report_new_capture_file(const char *filename); static void report_packet_count(int packet_count); |