diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-07-27 15:00:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-07-27 19:26:24 +0200 |
commit | db392a8a255326b7a094daeabd7fba195db6a9a5 (patch) | |
tree | e941ca76d92f8affe7e75e202037fc74357b7188 /sal/osl/all | |
parent | 89e3cf8f67d04fc8beff571aec8da130eccd7689 (diff) |
[API CHANGE] Drop obsolete osl_demultiplexSocketEvents et al
...which were deprecated in 0a126b4c661d65860fd2de92f8cc49bdb65a957c "Deprecate
osl_demultiplexSocketEvents et al" towards LO 7.2 (and leave aborting stubs in
place for backwards compatibility)
Change-Id: Ice6032eb2f351af87dd56eecb002aa2a91e79373
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119560
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/osl/all')
-rw-r--r-- | sal/osl/all/compat.cxx | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sal/osl/all/compat.cxx b/sal/osl/all/compat.cxx index 406c39229397..8fafc628b57e 100644 --- a/sal/osl/all/compat.cxx +++ b/sal/osl/all/compat.cxx @@ -25,6 +25,10 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_acquireSemaphore(void *) { for (;;) { std::abort(); } // avoid "must return a value" warnings } +SAL_DLLPUBLIC void SAL_CALL osl_addToSocketSet(void *, oslSocket) { + std::abort(); +} + SAL_DLLPUBLIC_EXPORT int SAL_CALL osl_areCommandArgsSet() { for (;;) { std::abort(); } // avoid "must return a value" warnings } @@ -39,18 +43,40 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL osl_breakDebug() { std::abort(); } +SAL_DLLPUBLIC void SAL_CALL osl_clearSocketSet(void *) { + std::abort(); +} + SAL_DLLPUBLIC_EXPORT void * SAL_CALL osl_createSemaphore(sal_uInt32) { for (;;) { std::abort(); } // avoid "must return a value" warnings } +SAL_DLLPUBLIC void * SAL_CALL osl_createSocketSet() { + for (;;) { std::abort(); } // avoid "must return a value" warnings +} + +SAL_DLLPUBLIC sal_Int32 SAL_CALL osl_demultiplexSocketEvents( + void *, void *, void *, TimeValue const *) +{ + for (;;) { std::abort(); } // avoid "must return a value" warnings +} + SAL_DLLPUBLIC_EXPORT void SAL_CALL osl_destroySemaphore(void *) { std::abort(); } +SAL_DLLPUBLIC void SAL_CALL osl_destroySocketSet(void *) { + std::abort(); +} + SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_getEthernetAddress(sal_uInt8 *) { for (;;) { std::abort(); } // avoid "must return a value" warnings } +SAL_DLLPUBLIC sal_Bool SAL_CALL osl_isInSocketSet(void *, oslSocket) { + for (;;) { std::abort(); } // avoid "must return a value" warnings +} + SAL_DLLPUBLIC_EXPORT oslSocket SAL_CALL osl_receiveResourcePipe(oslPipe) { for (;;) { std::abort(); } // avoid "must return a value" warnings } @@ -65,6 +91,10 @@ SAL_DLLPUBLIC_EXPORT sal_Int32 SAL_CALL osl_reportError( for (;;) { std::abort(); } // avoid "must return a value" warnings } +SAL_DLLPUBLIC void SAL_CALL osl_removeFromSocketSet(void *, oslSocket) { + std::abort(); +} + SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_sendResourcePipe(oslPipe, oslSocket) { for (;;) { std::abort(); } // avoid "must return a value" warnings |