summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-09 09:09:19 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 09:10:30 +0200
commitf1e22f1a051c44a55759b7d44b0f0ef1b6f3c9de (patch)
tree384c34bb7a5e42796983621150ca4a3ed8e67a93
parent6124ad4ca2c98e4c76cc7a32c4c8e538d9cd8b87 (diff)
fix android build
since after my converting stuff in include/registry/types.h to use 'enum class', it can obviously no longer be "extern C", so drop the "extern C" and rename the file to reflect that. Change-Id: Ia30f5731316525e48531c4785ab7471a428bcf6f
-rw-r--r--idlc/inc/idlc/astattribute.hxx2
-rw-r--r--include/registry/reader.h2
-rw-r--r--include/registry/reader.hxx2
-rw-r--r--include/registry/refltype.hxx2
-rw-r--r--include/registry/types.hxx (renamed from include/registry/types.h)8
-rw-r--r--include/registry/writer.h2
-rw-r--r--include/registry/writer.hxx2
-rw-r--r--registry/source/regimpl.cxx2
8 files changed, 7 insertions, 15 deletions
diff --git a/idlc/inc/idlc/astattribute.hxx b/idlc/inc/idlc/astattribute.hxx
index 6765d3c79638..173c393d912c 100644
--- a/idlc/inc/idlc/astattribute.hxx
+++ b/idlc/inc/idlc/astattribute.hxx
@@ -22,7 +22,7 @@
#include <idlc/astdeclaration.hxx>
#include "idlc/astscope.hxx"
-#include <registry/types.h>
+#include <registry/types.hxx>
#include <rtl/ustring.hxx>
namespace typereg { class Writer; }
diff --git a/include/registry/reader.h b/include/registry/reader.h
index 48dfef9161a6..a0e8eca502a9 100644
--- a/include/registry/reader.h
+++ b/include/registry/reader.h
@@ -21,7 +21,7 @@
#define INCLUDED_REGISTRY_READER_H
#include <registry/regdllapi.h>
-#include <registry/types.h>
+#include <registry/types.hxx>
#include <registry/version.h>
#include <rtl/ustring.h>
diff --git a/include/registry/reader.hxx b/include/registry/reader.hxx
index a03b6ef99fbf..d8980985700c 100644
--- a/include/registry/reader.hxx
+++ b/include/registry/reader.hxx
@@ -22,7 +22,7 @@
#include <registry/reader.h>
#include <registry/refltype.hxx>
-#include <registry/types.h>
+#include <registry/types.hxx>
#include <registry/version.h>
#include <rtl/ustring.hxx>
diff --git a/include/registry/refltype.hxx b/include/registry/refltype.hxx
index a7e3fcf25385..3e3bedad8796 100644
--- a/include/registry/refltype.hxx
+++ b/include/registry/refltype.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_REGISTRY_REFLTYPE_HXX
#define INCLUDED_REGISTRY_REFLTYPE_HXX
-#include <registry/types.h>
+#include <registry/types.hxx>
#include <sal/types.h>
/** specifies the type source of a binary type blob.
diff --git a/include/registry/types.h b/include/registry/types.hxx
index 27eacb899967..dc28e9d5d47b 100644
--- a/include/registry/types.h
+++ b/include/registry/types.hxx
@@ -23,10 +23,6 @@
#include <sal/types.h>
#include <o3tl/typed_flags_set.hxx>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** specifies the typeclass of a binary type blob.
The general structure of a binary type blob is always the same. It depends
@@ -331,10 +327,6 @@ enum class RTReferenceType {
TYPE_PARAMETER
};
-#ifdef __cplusplus
-}
-#endif
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/registry/writer.h b/include/registry/writer.h
index bf5b314816ba..e05b09634ede 100644
--- a/include/registry/writer.h
+++ b/include/registry/writer.h
@@ -21,7 +21,7 @@
#define INCLUDED_REGISTRY_WRITER_H
#include <registry/regdllapi.h>
-#include <registry/types.h>
+#include <registry/types.hxx>
#include <registry/version.h>
#include <rtl/ustring.h>
diff --git a/include/registry/writer.hxx b/include/registry/writer.hxx
index f6dced52ffaa..023aa1ee2d70 100644
--- a/include/registry/writer.hxx
+++ b/include/registry/writer.hxx
@@ -22,7 +22,7 @@
#include <registry/writer.h>
#include <registry/refltype.hxx>
-#include <registry/types.h>
+#include <registry/types.hxx>
#include <registry/version.h>
#include <rtl/ustring.hxx>
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index 64ad999816bb..95ed912e8b68 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -37,7 +37,7 @@
#include "registry/reader.hxx"
#include "registry/refltype.hxx"
-#include "registry/types.h"
+#include "registry/types.hxx"
#include "registry/version.h"
#include "reflcnst.hxx"