Avoid reserved identifier, remove unnecessary typedef

Change-Id: I1172bff37539d1ffb8da7b53c0e5f1913f7b7ec7
This commit is contained in:
Stephan Bergmann
2016-03-09 19:23:26 +01:00
parent 8988d1a744
commit e01e2342fb
2 changed files with 2 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
// forward ---------------------------------------------------------------
#if HAVE_FEATURE_JAVA
typedef struct _JavaInfo JavaInfo;
struct JavaInfo;
#else
typedef void* JavaInfo;
#endif

View File

@@ -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;