diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2015-12-05 20:37:41 +1000 |
---|---|---|
committer | Matúš Kukan <matus@libreoffice.org> | 2015-12-08 19:34:59 +0000 |
commit | 3149c04bb7fd79ae1b206a257b8195a209fa34c7 (patch) | |
tree | 6b9fd226c14f2734c960d687660e203230919ad2 /shell/source/win32 | |
parent | 8050b97aca3efbba6df31c53a64ead9c81d9d708 (diff) |
Resolve Linker Warning LNK4104
See https://msdn.microsoft.com/en-us/library/e821azx1.aspx
Some export symbols should be PRIVATE
Also, don't export DLLMain. It is internal function
used by CRT, and not intended to be exported.
Change-Id: I48139b985aa2ee499c2005d8b0d966a2cc6dcd0c
Reviewed-on: https://gerrit.libreoffice.org/20419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
Diffstat (limited to 'shell/source/win32')
-rw-r--r-- | shell/source/win32/shlxthandler/ooofilt/ooofilt.def | 5 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/prophdl/propertyhdl.def | 3 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/shlxthdl.def | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.def b/shell/source/win32/shlxthandler/ooofilt/ooofilt.def new file mode 100644 index 000000000000..d731a151f0db --- /dev/null +++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.def @@ -0,0 +1,5 @@ +EXPORTS
+ DllCanUnloadNow PRIVATE
+ DllGetClassObject PRIVATE
+ DllRegisterServer PRIVATE
+ DllUnregisterServer PRIVATE
diff --git a/shell/source/win32/shlxthandler/prophdl/propertyhdl.def b/shell/source/win32/shlxthandler/prophdl/propertyhdl.def new file mode 100644 index 000000000000..22b670b3c1bc --- /dev/null +++ b/shell/source/win32/shlxthandler/prophdl/propertyhdl.def @@ -0,0 +1,3 @@ +EXPORTS
+ DllCanUnloadNow PRIVATE
+ DllGetClassObject PRIVATE
diff --git a/shell/source/win32/shlxthandler/shlxthdl.def b/shell/source/win32/shlxthandler/shlxthdl.def new file mode 100644 index 000000000000..d731a151f0db --- /dev/null +++ b/shell/source/win32/shlxthandler/shlxthdl.def @@ -0,0 +1,5 @@ +EXPORTS
+ DllCanUnloadNow PRIVATE
+ DllGetClassObject PRIVATE
+ DllRegisterServer PRIVATE
+ DllUnregisterServer PRIVATE
|