diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-03-01 23:53:11 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-03-01 23:53:11 +0000 |
commit | 1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322 (patch) | |
tree | d6dde0ea7b6e6e15cc2c51a5f478fb85965b9720 /wsutil/wsgetopt.h | |
parent | 0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff) | |
download | wireshark-1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322.tar.gz |
Export libwireshark symbols using WS_DLL_PUBLIC define
Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.
svn path=/trunk/; revision=47992
Diffstat (limited to 'wsutil/wsgetopt.h')
-rw-r--r-- | wsutil/wsgetopt.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/wsutil/wsgetopt.h b/wsutil/wsgetopt.h index eaebe65a96..41054d1cc9 100644 --- a/wsutil/wsgetopt.h +++ b/wsutil/wsgetopt.h @@ -151,8 +151,7 @@ struct option /* Many other libraries have conflicting prototypes for getopt, with differences in the consts, in stdlib.h. To avoid compilation errors, only prototype getopt for the GNU C library. */ -WS_DLL_PUBLIC -extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) +WS_DLL_PUBLIC int getopt (int ___argc, char *const *___argv, const char *__shortopts) __THROW; # if defined __need_getopt && defined __USE_POSIX2 \ @@ -171,8 +170,7 @@ extern int __posix_getopt (int ___argc, char *const *___argv, # endif # endif #else /* not __GNU_LIBRARY__ */ -WS_DLL_PUBLIC -extern int getopt (int ___argc, char *const *___argv, +WS_DLL_PUBLIC int getopt (int ___argc, char *const *___argv, const char *__shortopts); #endif /* __GNU_LIBRARY__ */ |