summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-01 11:31:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-03 11:14:44 +0100
commita6e682faa612fdb2b669ceaae8c9c3f4964c6b29 (patch)
treef6cb3ed6cb2a3ccc1931b7c261841e5b3b151615 /xmlsecurity
parent518a8a12e3aa482948da15e808626c2efbd06d88 (diff)
find symbols that can be private
update the script and make private standalone functions Change-Id: Icb26ce258107700c90f89ad4e0d3329d075a2eb1 Reviewed-on: https://gerrit.libreoffice.org/81879 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/inc/xmlsec/xmlstreamio.hxx8
-rw-r--r--xmlsecurity/source/xmlsec/xmlstreamio.cxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/xmlsecurity/inc/xmlsec/xmlstreamio.hxx b/xmlsecurity/inc/xmlsec/xmlstreamio.hxx
index ee9e40e54ce6..26f8128db263 100644
--- a/xmlsecurity/inc/xmlsec/xmlstreamio.hxx
+++ b/xmlsecurity/inc/xmlsec/xmlstreamio.hxx
@@ -25,12 +25,12 @@
namespace com::sun::star::xml::crypto { class XUriBinding; }
namespace com::sun::star::uno { template <typename > class Reference; }
-XSECXMLSEC_DLLPUBLIC int xmlEnableStreamInputCallbacks() ;
-XSECXMLSEC_DLLPUBLIC void xmlDisableStreamInputCallbacks() ;
-XSECXMLSEC_DLLPUBLIC int xmlRegisterStreamInputCallbacks(
+int xmlEnableStreamInputCallbacks() ;
+void xmlDisableStreamInputCallbacks() ;
+int xmlRegisterStreamInputCallbacks(
css::uno::Reference< css::xml::crypto::XUriBinding > const & aUriBinding
);
-XSECXMLSEC_DLLPUBLIC int xmlUnregisterStreamInputCallbacks() ;
+int xmlUnregisterStreamInputCallbacks() ;
#endif // INCLUDED_XMLSECURITY_SOURCE_XMLSEC_XMLSTREAMIO_HXX
diff --git a/xmlsecurity/source/xmlsec/xmlstreamio.cxx b/xmlsecurity/source/xmlsec/xmlstreamio.cxx
index 0f8918380855..a0d9d572484f 100644
--- a/xmlsecurity/source/xmlsec/xmlstreamio.cxx
+++ b/xmlsecurity/source/xmlsec/xmlstreamio.cxx
@@ -142,7 +142,7 @@ static int xmlStreamClose( void * context )
}
-XSECXMLSEC_DLLPUBLIC int xmlEnableStreamInputCallbacks()
+int xmlEnableStreamInputCallbacks()
{
if (!g_bInputCallbacksEnabled)
{
@@ -204,7 +204,7 @@ XSECXMLSEC_DLLPUBLIC int xmlEnableStreamInputCallbacks()
return 0 ;
}
-XSECXMLSEC_DLLPUBLIC int xmlRegisterStreamInputCallbacks(
+int xmlRegisterStreamInputCallbacks(
css::uno::Reference< css::xml::crypto::XUriBinding > const & aUriBinding
) {
if (!g_bInputCallbacksEnabled)
@@ -221,7 +221,7 @@ XSECXMLSEC_DLLPUBLIC int xmlRegisterStreamInputCallbacks(
return 0 ;
}
-XSECXMLSEC_DLLPUBLIC int xmlUnregisterStreamInputCallbacks()
+int xmlUnregisterStreamInputCallbacks()
{
if (g_bInputCallbacksRegistered)
{
@@ -235,7 +235,7 @@ XSECXMLSEC_DLLPUBLIC int xmlUnregisterStreamInputCallbacks()
return 0 ;
}
-XSECXMLSEC_DLLPUBLIC void xmlDisableStreamInputCallbacks() {
+void xmlDisableStreamInputCallbacks() {
xmlUnregisterStreamInputCallbacks() ;
g_bInputCallbacksEnabled = false;
}