summaryrefslogtreecommitdiffstats
path: root/xml
diff options
context:
space:
mode:
Diffstat (limited to 'xml')
-rw-r--r--xml/src/main/native/org_apache_harmony_xml_ExpatParser.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/xml/src/main/native/org_apache_harmony_xml_ExpatParser.cpp b/xml/src/main/native/org_apache_harmony_xml_ExpatParser.cpp
index d4fc557..c684708 100644
--- a/xml/src/main/native/org_apache_harmony_xml_ExpatParser.cpp
+++ b/xml/src/main/native/org_apache_harmony_xml_ExpatParser.cpp
@@ -1526,11 +1526,7 @@ static JNINativeMethod attributeMethods[] = {
(void*) getAttributeValueForQName },
{ "freeAttributes", "(I)V", (void*) freeAttributes },
};
-
-/**
- * Called from Register.c.
- */
-extern "C" int register_org_apache_harmony_xml_ExpatParser(JNIEnv* env) {
+int register_org_apache_harmony_xml_ExpatParser(JNIEnv* env) {
int result = jniRegisterNativeMethods(env, "org/apache/harmony/xml/ExpatParser",
parserMethods, NELEM(parserMethods));
if (result != 0) {