1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #include "sal/config.h"
14 #include "osl/module.h"
16 #include "sal/types.h"
18 // Stubs for removed functionality, to be killed when we bump sal SONAME
22 SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL
osl_acquireSemaphore(void *) {
23 for (;;) { std::abort(); } // avoid "must return a value" warnings
26 SAL_DLLPUBLIC_EXPORT
void * SAL_CALL
osl_createSemaphore(sal_uInt32
) {
27 for (;;) { std::abort(); } // avoid "must return a value" warnings
30 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
osl_destroySemaphore(void *) {
34 SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL
osl_releaseSemaphore(void *) {
35 for (;;) { std::abort(); } // avoid "must return a value" warnings
38 SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL
osl_tryToAcquireSemaphore(void *) {
39 for (;;) { std::abort(); } // avoid "must return a value" warnings
42 SAL_DLLPUBLIC_EXPORT sal_Int32 SAL_CALL
rtl_addUnloadingListener(
43 void (SAL_CALL
*)(void *), void *)
45 for (;;) { std::abort(); } // avoid "must return a value" warnings
48 SAL_DLLPUBLIC_EXPORT sal_Int32 SAL_CALL
rtl_compareMemory(
49 void const *, void const *, sal_Size
)
51 for (;;) { std::abort(); } // avoid "must return a value" warnings
54 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
rtl_copyMemory(
55 void *, void const *, sal_Size
)
60 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
rtl_fillMemory(void *, sal_Size
, sal_uInt8
) {
64 SAL_DLLPUBLIC_EXPORT
void * SAL_CALL
rtl_findInMemory(
65 void const *, sal_uInt8
, sal_Size
)
67 for (;;) { std::abort(); } // avoid "must return a value" warnings
70 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
rtl_moveMemory(
71 void *, void const *, sal_Size
)
76 SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL
rtl_registerModuleForUnloading(oslModule
)
78 for (;;) { std::abort(); } // avoid "must return a value" warnings
81 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
rtl_removeUnloadingListener(sal_Int32
) {
85 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
rtl_unloadUnusedModules(TimeValue
*) {
89 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
rtl_unregisterModuleForUnloading(oslModule
) {
93 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
rtl_zeroMemory(void *, sal_Size
) {
99 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */