LCOV - code coverage report
Current view: top level - libreoffice/sal/osl/all - compat.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 22 0.0 %
Date: 2012-12-27 Functions: 0 11 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       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/.
       8             :  */
       9             : 
      10             : #include "sal/config.h"
      11             : 
      12             : #include <cstdlib>
      13             : 
      14             : #include "sal/types.h"
      15             : 
      16             : // Stubs for removed functionality, to be killed when we bump sal SONAME
      17             : 
      18             : extern "C" {
      19             : 
      20           0 : SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_acquireSemaphore(void *) {
      21           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      22             : }
      23             : 
      24           0 : SAL_DLLPUBLIC_EXPORT void * SAL_CALL osl_createSemaphore(sal_uInt32) {
      25           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      26             : }
      27             : 
      28           0 : SAL_DLLPUBLIC_EXPORT void SAL_CALL osl_destroySemaphore(void *) {
      29           0 :     std::abort();
      30             : }
      31             : 
      32           0 : SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_releaseSemaphore(void *) {
      33           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      34             : }
      35             : 
      36           0 : SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL osl_tryToAcquireSemaphore(void *) {
      37           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      38             : }
      39             : 
      40           0 : SAL_DLLPUBLIC_EXPORT sal_Int32 SAL_CALL rtl_compareMemory(
      41             :     void const *, void const *, sal_Size)
      42             : {
      43           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      44             : }
      45             : 
      46           0 : SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_copyMemory(
      47             :     void *, void const *, sal_Size)
      48             : {
      49           0 :     std::abort();
      50             : }
      51             : 
      52           0 : SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_fillMemory(void *, sal_Size, sal_uInt8) {
      53           0 :     std::abort();
      54             : }
      55             : 
      56           0 : SAL_DLLPUBLIC_EXPORT void * SAL_CALL rtl_findInMemory(
      57             :     void const *, sal_uInt8, sal_Size)
      58             : {
      59           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      60             : }
      61             : 
      62           0 : SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_moveMemory(
      63             :     void *, void const *, sal_Size)
      64             : {
      65           0 :     std::abort();
      66             : }
      67             : 
      68           0 : SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_zeroMemory(void *, sal_Size) {
      69           0 :     std::abort();
      70             : }
      71             : 
      72             : }
      73             : 
      74             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10