diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-08 12:21:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-08 12:29:49 +0100 |
commit | 393132ca73f2deead95c000ea7381727a25731e2 (patch) | |
tree | 0460951830d3a9c52bae77611854709e564ef51b /sal/osl/all | |
parent | 350824178333b58948dbc3826ad759f10b0f026e (diff) |
[API CHANGE] Remove osl_send/receiveResourcePipe
...they had not been documented in osl/process.h and the sal/osl/unx
implementation had been stubbed out since
7b37265b8e1afe480a6bbd271bf48fa1cbb44d55 "sal: remove unx implementation of
osl_sendResourcePipe/osl_receiveResourcePipe" in 2012
Change-Id: Ia3ae853d95b6f3b2d2743f06755ef8f6246501d8
Diffstat (limited to 'sal/osl/all')
-rw-r--r-- | sal/osl/all/compat.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sal/osl/all/compat.cxx b/sal/osl/all/compat.cxx index 3f072a11023d..592ac90ae70c 100644 --- a/sal/osl/all/compat.cxx +++ b/sal/osl/all/compat.cxx @@ -12,6 +12,8 @@ #include <cstdlib> #include "osl/module.h" +#include "osl/pipe.h" +#include "osl/socket.h" #include "osl/time.h" #include "sal/types.h" @@ -49,6 +51,10 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_getEthernetAddress(sal_uInt8 *) { 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 +} + SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_releaseSemaphore(void *) { for (;;) { std::abort(); } // avoid "must return a value" warnings } @@ -59,6 +65,11 @@ SAL_DLLPUBLIC_EXPORT sal_Int32 SAL_CALL osl_reportError( for (;;) { std::abort(); } // avoid "must return a value" warnings } +SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_sendResourcePipe(oslPipe, oslSocket) +{ + for (;;) { std::abort(); } // avoid "must return a value" warnings +} + namespace { typedef void (SAL_CALL * pfunc_osl_printDebugMessage)(char const *); } |