Revert "Generate an error for exporting rs_objects in structs/arrays."
This reverts commit f5abb503e67587ad89bcec99ed925d4a75448dcd
diff --git a/slang_rs_export_element.cpp b/slang_rs_export_element.cpp
index e0bc897..c1b9c3c 100644
--- a/slang_rs_export_element.cpp
+++ b/slang_rs_export_element.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2012, The Android Open Source Project
+ * Copyright 2010, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -70,7 +70,7 @@
slangAssert(EI != NULL && "Element info not found");
if (!RSExportType::NormalizeType(T, TypeName, Context->getDiagnostics(),
- NULL, Context->getTargetAPI()))
+ NULL))
return NULL;
switch (T->getTypeClass()) {