aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-02-17 23:11:49 +0000
committerGuy Harris <guy@alum.mit.edu>2011-02-17 23:11:49 +0000
commitb4f663a29bc1c9168108538d27c427a58c593668 (patch)
tree6507c1b3f0ac0ace859a109a49addbf4bc1f9c26 /dumpcap.c
parentdae52000024e82dbb5ca4d1cf573b95d9a831330 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 3dc0bf87ac..aa73b1ed5d 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -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);