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 /timestats.c | |
parent | dae52000024e82dbb5ca4d1cf573b95d9a831330 (diff) | |
download | wireshark-b4f663a29bc1c9168108538d27c427a58c593668.tar.gz wireshark-b4f663a29bc1c9168108538d27c427a58c593668.tar.bz2 wireshark-b4f663a29bc1c9168108538d27c427a58c593668.zip |
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 'timestats.c')
-rw-r--r-- | timestats.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/timestats.c b/timestats.c index ccbfa16fd0..67bda7a73f 100644 --- a/timestats.c +++ b/timestats.c @@ -23,6 +23,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "timestats.h" /* Initialize a timestat_t struct */ |