diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-09 19:23:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 18:32:13 +0100 |
commit | e01e2342fb063d5763706802657915720c5f3d0e (patch) | |
tree | 954bd67714d9930828b7923c1a0b93e6b2ecd2fb | |
parent | 8988d1a744c983ecd1435cb7b75d17a6f5acf9f9 (diff) |
Avoid reserved identifier, remove unnecessary typedef
Change-Id: I1172bff37539d1ffb8da7b53c0e5f1913f7b7ec7
-rw-r--r-- | cui/source/options/optjava.hxx | 2 | ||||
-rw-r--r-- | include/jvmfwk/framework.hxx | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx index 5950d4280c45..ca5ac45688d1 100644 --- a/cui/source/options/optjava.hxx +++ b/cui/source/options/optjava.hxx @@ -37,7 +37,7 @@ // forward --------------------------------------------------------------- #if HAVE_FEATURE_JAVA -typedef struct _JavaInfo JavaInfo; +struct JavaInfo; #else typedef void* JavaInfo; #endif diff --git a/include/jvmfwk/framework.hxx b/include/jvmfwk/framework.hxx index a85e38b2e796..9ba49ceee988 100644 --- a/include/jvmfwk/framework.hxx +++ b/include/jvmfwk/framework.hxx @@ -215,7 +215,7 @@ typedef enum _javaFrameworkError For convenience this API provides the function <code>jfw_freeJavaInfo</code> which frees the objects properly. </p> */ -struct _JavaInfo +struct JavaInfo { /** contains the vendor. @@ -260,8 +260,6 @@ struct _JavaInfo sal_Sequence * arVendorData; }; -typedef struct _JavaInfo JavaInfo; - /** frees the memory of a <code>JavaInfo</code> object. @param pInfo The object which is to be freed. It can be NULL; |