diff options
author | João Valverde <j@v6e.pt> | 2021-12-17 13:40:05 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-12-18 18:54:08 +0000 |
commit | d443197097772402f92827567cf61e57a138a03d (patch) | |
tree | 39f5ed4a3144b22ed0804c42a5d81ccb5c24492e /dumpcap.c | |
parent | 2de477f499100963369be9485851131438b25a96 (diff) |
Prefer the portable _Noreturn attribute (C11)
Use _Noreturn, available with C11, instead of vendor specific
attributes. It's not compatible with C++ so we we must keep
the old code for now.
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -343,7 +343,7 @@ static void capture_loop_get_errmsg(char *errmsg, size_t errmsglen, const char *fname, int err, gboolean is_close); -static void WS_NORETURN exit_main(int err); +WS_NORETURN static void exit_main(int err); static void report_new_capture_file(const char *filename); static void report_packet_count(unsigned int packet_count); |