aboutsummaryrefslogtreecommitdiffstats
path: root/ws_symbol_export.h
AgeCommit message (Collapse)AuthorFilesLines
2014-10-14Always put editor-modelines at the end of the file ...Bill Meier1-3/+3
... to ensure that there are no potential issues with respect to editors limiting the number of lines scanned at the end of the file when checking for editor modelines. Change-Id: Ic85cbb108bb5159d6ec4116fea11f5eebb4e44a4 Reviewed-on: https://code.wireshark.org/review/4688 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-10-12Add editor modelines; Adjust whitespace as needed.Bill Meier1-1/+14
Change-Id: I4da7b335d905dbca10bbce03aa88e1cdeeb1f8ad Reviewed-on: https://code.wireshark.org/review/4626 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-07-01For Sun C with linker scoping specifiers, define WS_DLL_PUBLIC_DEF.Guy Harris1-1/+5
This may let us, at least for those compilers, make the default "hidden" with -xldscope=hidden. Change-Id: I94e10733c2aba0ff8d77a8bf4f1dc8ecc8b2a47f Reviewed-on: https://code.wireshark.org/review/2766 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-01Pick up stuff from GLib to hide symbols with Sun C.Guy Harris1-2/+37
Note why we don't use G_GNUC_INTERNAL, but duplicate what GLib does, and don't use G_HAVE_GNUC_VISIBILITY to determine whether we can use __attribute__ ((visibility (...))). Change-Id: I0b8d40f40d04e821352522320626173806787214 Reviewed-on: https://code.wireshark.org/review/2753 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-11-16I guess the order *doesn't* matter.Guy Harris1-4/+0
svn path=/trunk/; revision=53376
2013-11-16OK, does it matter in which order "extern" and "declspec" appear?Guy Harris1-0/+4
svn path=/trunk/; revision=53373
2013-08-15Add $Id$.Guy Harris1-0/+2
svn path=/trunk/; revision=51376
2013-07-04More details in a comment.Guy Harris1-3/+9
svn path=/trunk/; revision=50382
2013-07-04Add more comments indicating what this is doing.Guy Harris1-2/+21
svn path=/trunk/; revision=50379
2013-07-03WS_DLL_PUBLIC is now always WS_DLL_PUBLIC_NOEXTERN with "extern" added;Guy Harris1-17/+17
just define WS_DLL_PUBLIC_NOEXTERN inside the ifdefs, and define WS_DLL_PUBLIC as WS_DLL_PUBLIC_NOEXTERN followed by "extern". Then rename WS_DLL_PUBLIC_NOEXTERN to WS_DLL_PUBLIC_DEF, to clarify that it's what should be used for definitions; at least on Windows, you *have* to use it when declaring arrays without a size, and, whilst you might be able to use WS_DLL_PUBLIC for definitions of functions and perhaps data definitions other than no-size arrays, it might be clearer to rename WS_DLL_PUBLIC to WS_DLL_PUBLIC_DECL and use it only for declarations. svn path=/trunk/; revision=50334
2013-07-03OK, try having WS_DLL_PUBLIC always say "extern". If *that* doesn'tGuy Harris1-6/+44
work, because it can't be used with definitions, we'll probably have to have separate macros for declarations and definitions, as I don't think MSVC likes int foo[]; in a header file but should be fine with extern int foo[]; Add some more comments while we're at it; you are in a twisty little maze of #ifdefs, all different. svn path=/trunk/; revision=50332
2013-07-02Methinks the "not GCC 4 or later" #defines for WS_DLL_PUBLIC andGuy Harris1-4/+4
WS_DLL_LOCAL were reversed; that might be what's causing a build error with ui/qt/main_status_bar.cpp. Add some comments for #else's while we're at it, so it's easier to figure out when particular sets of #defines are used. svn path=/trunk/; revision=50329
2013-03-07From Balint:Gerald Combs1-0/+24
[PATCH 1/2] Revert "Try to fix the "LNK4217: locally defined symbol" warnings. This reverts commit r48158. [PATCH 2/2] Employ small hack in editcap to link with a few objects from libwireshark properly From me: Add the ability to reset symbol exports via ws_symbol_export.h's include guard and do so in capinfos.c and editcap.c. We include ws_symbol_export.h in over 200 files so it didn't seem to make sense to remove its include guard entirely. svn path=/trunk/; revision=48170
2013-03-02Revert "Make Solaris Studio hide internal shared library symbols by default"Balint Reczey1-1/+1
This reverts commit r48020. svn path=/trunk/; revision=48022
2013-03-02Make Solaris Studio hide internal shared library symbols by defaultBalint Reczey1-1/+1
svn path=/trunk/; revision=48020
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-2/+5
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-03-01Fix warning: C++ style comments are not allowed in ISO C90 [enabled by default]Anders Broman1-2/+2
svn path=/trunk/; revision=47971
2013-02-28Export libwsutil symbols using WS_DLL_PUBLIC defineBalint Reczey1-0/+54
This change replaces *.def and *.sym file usage following the guideline at http://gcc.gnu.org/wiki/Visibility svn path=/trunk/; revision=47938