diff options
author | Salud Lemus <saludlemus@google.com> | 2020-07-28 19:23:56 +0000 |
---|---|---|
committer | Salud Lemus <saludlemus@google.com> | 2020-07-31 17:31:53 +0000 |
commit | 0cbe9d948bbe7f280455e5a8224d99341fac7adb (patch) | |
tree | 86d327912fe862fe30bf58b0e3423fbb4dbe686d /tools/stats_log_api_gen/java_writer.h | |
parent | 6d8780292a2cc1edd7e5d2d6cea6e1d3877a87dc (diff) |
Update stats-log-api-gen source based off of google3 presubmit checks
Bug: 161812407
Test: `m statslog-framework-java-gen`
Test: `m statslog-telephony-java-gen`
Test: `m stats-log-api-gen-test && out/host/linux-x86/nativetest/stats-log-api-gen-test/stats-log-api-gen-test`
Change-Id: Id68982e306fbc379ed8e90b33a38b8a6604e66ad
Diffstat (limited to 'tools/stats_log_api_gen/java_writer.h')
-rw-r--r-- | tools/stats_log_api_gen/java_writer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/stats_log_api_gen/java_writer.h b/tools/stats_log_api_gen/java_writer.h index 8b3b50588efc..afd992be6c5e 100644 --- a/tools/stats_log_api_gen/java_writer.h +++ b/tools/stats_log_api_gen/java_writer.h @@ -14,7 +14,8 @@ * limitations under the License. */ -#pragma once +#ifndef ANDROID_STATS_LOG_API_GEN_JAVA_WRITER_H +#define ANDROID_STATS_LOG_API_GEN_JAVA_WRITER_H #include <stdio.h> #include <string.h> @@ -28,11 +29,11 @@ namespace android { namespace stats_log_api_gen { -using namespace std; - int write_stats_log_java(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, const string& javaClass, const string& javaPackage, const bool supportQ, const bool supportWorkSource); } // namespace stats_log_api_gen } // namespace android + +#endif // ANDROID_STATS_LOG_API_GEN_JAVA_WRITER_H |