summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2018-04-10 15:46:23 -0700
committerPirama Arumuga Nainar <pirama@google.com>2018-04-10 22:55:24 +0000
commited4c5d008cbd73050e2995ade1dd9c3617b5a4b3 (patch)
tree4e90a3ce5eaa01f10bed3eebe87a6e4568a35020
parentf0f87da0c85b2210927ed488970a4b2ca1d945a3 (diff)
downloadlibhidl-o-mr1-iot-preview-8.tar.gz
Remove extra semicolon at end of namespaceandroid-o-mr1-iot-preview-8o-mr1-iot-preview-8
Upcoming clang update to r328903 adds a new warning: warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi] which is included in -Weverything. We can just delete the extra semicolon (even though we use gnu99), and save the extra byte. To appease clang-format, this patch also includes the following cleanup: - Fix inconsistency in indentation within V1_0 namespace - Fix incorrect namespace name in comment Test: Build Change-Id: I91208b29aaf8973b412b517cef0675ce623b9acd
-rw-r--r--base/include/hidl/HidlSupport.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/base/include/hidl/HidlSupport.h b/base/include/hidl/HidlSupport.h
index d1221fe..5859b6a 100644
--- a/base/include/hidl/HidlSupport.h
+++ b/base/include/hidl/HidlSupport.h
@@ -40,18 +40,22 @@ namespace android {
namespace hidl {
namespace memory {
namespace V1_0 {
- struct IMemory;
-}; // namespace V1_0
-}; // namespace manager
-}; // namespace hidl
+
+struct IMemory;
+
+} // namespace V1_0
+} // namespace memory
+} // namespace hidl
namespace hidl {
namespace base {
namespace V1_0 {
- struct IBase;
-}; // namespace V1_0
-}; // namespace base
-}; // namespace hidl
+
+struct IBase;
+
+} // namespace V1_0
+} // namespace base
+} // namespace hidl
namespace hardware {