aboutsummaryrefslogtreecommitdiff
path: root/Coordinator.cpp
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-02-20 12:34:47 -0800
committerSteven Moreland <smoreland@google.com>2018-02-20 15:36:16 -0800
commit06a088b75be66cee2b1c5c0d21bc976ea1f601f2 (patch)
treeb2e6848d6654c6a657174610aee0fb5f99db31a0 /Coordinator.cpp
parent71f091347acddfb178dd289a3d1c0af89f1addc7 (diff)
downloadhidl-06a088b75be66cee2b1c5c0d21bc976ea1f601f2.tar.gz
Remove 'extern' reference to function parseFile.
Moved function declaration to a header. No need to use extern within the same compilation unit. Test: hidl's run_all_host_tests.sh Change-Id: I85917f38e7e597a61c8e00bd975eb800dad46c06
Diffstat (limited to 'Coordinator.cpp')
-rw-r--r--Coordinator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Coordinator.cpp b/Coordinator.cpp
index d6e5b7c4..198505bd 100644
--- a/Coordinator.cpp
+++ b/Coordinator.cpp
@@ -29,8 +29,7 @@
#include "AST.h"
#include "Interface.h"
-
-extern android::status_t parseFile(android::AST* ast, FILE* file);
+#include "hidl-gen_l.h"
static bool existdir(const char *name) {
DIR *dir = opendir(name);