The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / ws_symbol_export.h @ master

History | View | Annotate | Download (6.11 KB)

# Date Author Comment
22ea889e 07/01/2014 07:04 PM Guy Harris

For Sun C with linker scoping specifiers, define WS_DLL_PUBLIC_DEF.

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...

27d32011 07/01/2014 03:21 PM Guy Harris

Pick up stuff from GLib to hide symbols with Sun C.

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...

29659139 03/04/2014 09:27 AM Alexis La Goutte

Remove all $Id$ from top of file

(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 <>

dd1034e1 11/16/2013 05:57 PM Guy Harris

I guess the order doesn't matter.

svn path=/trunk/; revision=53376

0e029166 11/16/2013 04:40 PM Guy Harris

OK, does it matter in which order "extern" and "declspec" appear?

svn path=/trunk/; revision=53373

778e736a 08/15/2013 12:01 AM Guy Harris

Add $Id$.

svn path=/trunk/; revision=51376

df952279 07/04/2013 02:11 PM Guy Harris

More details in a comment.

svn path=/trunk/; revision=50382

d85874c6 07/03/2013 08:39 PM Guy Harris

Add more comments indicating what this is doing.

svn path=/trunk/; revision=50379

5d87a8c4 07/02/2013 09:43 PM Guy Harris

WS_DLL_PUBLIC is now always WS_DLL_PUBLIC_NOEXTERN with "extern" added;
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...

219c37c4 07/02/2013 08:38 PM Guy Harris

OK, try having WS_DLL_PUBLIC always say "extern". If that doesn't
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...

717b3586 07/02/2013 06:08 PM Guy Harris

Methinks the "not GCC 4 or later" #defines for WS_DLL_PUBLIC and
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....

29ceca1b 03/07/2013 12:20 PM Gerald Combs

From Balint:

[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...

1eb5e1d7 03/02/2013 05:27 PM Balint Reczey

Revert "Make Solaris Studio hide internal shared library symbols by default"

This reverts commit r48020.

svn path=/trunk/; revision=48022

73aafe2b 03/02/2013 05:11 PM Balint Reczey

Make Solaris Studio hide internal shared library symbols by default

svn path=/trunk/; revision=48020

1ebdb2e5 03/01/2013 06:53 PM Balint Reczey

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

c5f9ea23 03/01/2013 01:44 AM Anders Broman

Fix warning: C++ style comments are not allowed in ISO C90 [enabled by default]

svn path=/trunk/; revision=47971

45c2884f 02/28/2013 09:09 AM Balint Reczey

Export libwsutil symbols using WS_DLL_PUBLIC define

This change replaces *.def and *.sym file usage following the
guideline at http://gcc.gnu.org/wiki/Visibility

svn path=/trunk/; revision=47938