summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-14 22:55:54 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-17 11:06:51 +0100
commit30f3b36e07ce37a3fe1909fb4b1419a00d2fdd81 (patch)
tree1542b4e983865c64a39411fa3212826cae716d8b /include/osl
parentb3e5b5941f06dab1818e77b12ff0243eecf24601 (diff)
sal: remove pointless checking for __cplusplus in public C++ headers
Change-Id: Ibbcdb4a3f46b7491396a1b1c7b4cdc1af05f30d3
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/conditn.hxx3
-rw-r--r--include/osl/mutex.hxx3
2 files changed, 0 insertions, 6 deletions
diff --git a/include/osl/conditn.hxx b/include/osl/conditn.hxx
index fd0dfdfb303d..9485e7f41aed 100644
--- a/include/osl/conditn.hxx
+++ b/include/osl/conditn.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_OSL_CONDITN_HXX
#define INCLUDED_OSL_CONDITN_HXX
-#ifdef __cplusplus
-
#include <osl/time.h>
#include <osl/conditn.h>
@@ -122,7 +120,6 @@ namespace osl
}
-#endif /* __cplusplus */
#endif // INCLUDED_OSL_CONDITN_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/osl/mutex.hxx b/include/osl/mutex.hxx
index 17d57e80b473..99241eb8b135 100644
--- a/include/osl/mutex.hxx
+++ b/include/osl/mutex.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_OSL_MUTEX_HXX
#define INCLUDED_OSL_MUTEX_HXX
-#ifdef __cplusplus
-
#include <osl/mutex.h>
@@ -240,7 +238,6 @@ namespace osl
typedef ResettableGuard< Mutex > ResettableMutexGuard;
}
-#endif /* __cplusplus */
#endif // INCLUDED_OSL_MUTEX_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */