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 10 0.0 %
Date: 2012-12-17 Functions: 0 5 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             : }
      41             : 
      42             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10