diff --git a/libutils/SharedBuffer.h b/libutils/SharedBuffer.h index 48358cddc..81cadffa2 100644 --- a/libutils/SharedBuffer.h +++ b/libutils/SharedBuffer.h @@ -139,7 +139,7 @@ bool SharedBuffer::onlyOwner() const { return (mRefs.load(std::memory_order_acquire) == 1); } -}; // namespace android +} // namespace android // --------------------------------------------------------------------------- diff --git a/libutils/include/utils/AndroidThreads.h b/libutils/include/utils/AndroidThreads.h index 4c2dd49f6..dab888d5a 100644 --- a/libutils/include/utils/AndroidThreads.h +++ b/libutils/include/utils/AndroidThreads.h @@ -118,7 +118,7 @@ inline thread_id_t getThreadId() { } // ---------------------------------------------------------------------------- -}; // namespace android +} // namespace android #endif // __cplusplus // ---------------------------------------------------------------------------- diff --git a/libutils/include/utils/CallStack.h b/libutils/include/utils/CallStack.h index 27e89f462..96221425e 100644 --- a/libutils/include/utils/CallStack.h +++ b/libutils/include/utils/CallStack.h @@ -67,6 +67,6 @@ private: Vector mFrameLines; }; -}; // namespace android +} // namespace android #endif // ANDROID_CALLSTACK_H diff --git a/libutils/include/utils/Condition.h b/libutils/include/utils/Condition.h index 9bf82eb77..c8da67c27 100644 --- a/libutils/include/utils/Condition.h +++ b/libutils/include/utils/Condition.h @@ -159,7 +159,7 @@ inline void Condition::broadcast() { #endif // !defined(_WIN32) // --------------------------------------------------------------------------- -}; // namespace android +} // namespace android // --------------------------------------------------------------------------- #endif // _LIBS_UTILS_CONDITON_H diff --git a/libutils/include/utils/Debug.h b/libutils/include/utils/Debug.h index 4cbb46200..96bd70eb0 100644 --- a/libutils/include/utils/Debug.h +++ b/libutils/include/utils/Debug.h @@ -35,6 +35,6 @@ template<> struct CompileTimeAssert {}; CompileTimeAssert<( _exp )>(); // --------------------------------------------------------------------------- -}; // namespace android +} // namespace android #endif // ANDROID_UTILS_DEBUG_H diff --git a/libutils/include/utils/FileMap.h b/libutils/include/utils/FileMap.h index 7d372e1dc..8d402a3c2 100644 --- a/libutils/include/utils/FileMap.h +++ b/libutils/include/utils/FileMap.h @@ -124,6 +124,6 @@ private: static long mPageSize; }; -}; // namespace android +} // namespace android #endif // __LIBS_FILE_MAP_H diff --git a/libutils/include/utils/Flattenable.h b/libutils/include/utils/Flattenable.h index 675e211e0..0a19019ac 100644 --- a/libutils/include/utils/Flattenable.h +++ b/libutils/include/utils/Flattenable.h @@ -198,8 +198,6 @@ public: } }; - -}; // namespace android - +} // namespace android #endif /* ANDROID_UTILS_FLATTENABLE_H */ diff --git a/libutils/include/utils/Functor.h b/libutils/include/utils/Functor.h index 3182a9c61..c0c8d5713 100644 --- a/libutils/include/utils/Functor.h +++ b/libutils/include/utils/Functor.h @@ -32,6 +32,6 @@ public: virtual status_t operator ()(int /*what*/, void* /*data*/) { return NO_ERROR; } }; -}; // namespace android +} // namespace android #endif // ANDROID_FUNCTOR_H diff --git a/libutils/include/utils/KeyedVector.h b/libutils/include/utils/KeyedVector.h index 03bfe2701..7bda99beb 100644 --- a/libutils/include/utils/KeyedVector.h +++ b/libutils/include/utils/KeyedVector.h @@ -211,7 +211,7 @@ const VALUE& DefaultKeyedVector::valueFor(const KEY& key) const { return i >= 0 ? KeyedVector::valueAt(i) : mDefault; } -}; // namespace android +} // namespace android // --------------------------------------------------------------------------- diff --git a/libutils/include/utils/List.h b/libutils/include/utils/List.h index daca016d4..25b56fd21 100644 --- a/libutils/include/utils/List.h +++ b/libutils/include/utils/List.h @@ -329,6 +329,6 @@ List& List::operator=(const List& right) return *this; } -}; // namespace android +} // namespace android #endif // _LIBS_UTILS_LIST_H diff --git a/libutils/include/utils/Mutex.h b/libutils/include/utils/Mutex.h index af6076cf3..1228df4cd 100644 --- a/libutils/include/utils/Mutex.h +++ b/libutils/include/utils/Mutex.h @@ -212,7 +212,7 @@ inline status_t Mutex::timedLock(nsecs_t timeoutNs) { typedef Mutex::Autolock AutoMutex; // --------------------------------------------------------------------------- -}; // namespace android +} // namespace android // --------------------------------------------------------------------------- #endif // _LIBS_UTILS_MUTEX_H diff --git a/libutils/include/utils/Printer.h b/libutils/include/utils/Printer.h index bb6628767..a6f69280e 100644 --- a/libutils/include/utils/Printer.h +++ b/libutils/include/utils/Printer.h @@ -114,6 +114,6 @@ private: const char* mPrefix; }; -}; // namespace android +} // namespace android #endif // ANDROID_PRINTER_H diff --git a/libutils/include/utils/ProcessCallStack.h b/libutils/include/utils/ProcessCallStack.h index 32458b8b1..b5f2edc4c 100644 --- a/libutils/include/utils/ProcessCallStack.h +++ b/libutils/include/utils/ProcessCallStack.h @@ -74,6 +74,6 @@ private: struct tm mTimeUpdated; }; -}; // namespace android +} // namespace android #endif // ANDROID_PROCESS_CALLSTACK_H diff --git a/libutils/include/utils/RWLock.h b/libutils/include/utils/RWLock.h index d5b81d3a8..7d43e69f1 100644 --- a/libutils/include/utils/RWLock.h +++ b/libutils/include/utils/RWLock.h @@ -120,7 +120,7 @@ inline void RWLock::unlock() { #endif // !defined(_WIN32) // --------------------------------------------------------------------------- -}; // namespace android +} // namespace android // --------------------------------------------------------------------------- #endif // _LIBS_UTILS_RWLOCK_H diff --git a/libutils/include/utils/Singleton.h b/libutils/include/utils/Singleton.h index bc47a5cac..2dd5a47e6 100644 --- a/libutils/include/utils/Singleton.h +++ b/libutils/include/utils/Singleton.h @@ -95,7 +95,7 @@ private: // --------------------------------------------------------------------------- -}; // namespace android +} // namespace android #endif // ANDROID_UTILS_SINGLETON_H diff --git a/libutils/include/utils/SortedVector.h b/libutils/include/utils/SortedVector.h index 47c1376ce..394db1215 100644 --- a/libutils/include/utils/SortedVector.h +++ b/libutils/include/utils/SortedVector.h @@ -288,8 +288,7 @@ int SortedVector::do_compare(const void* lhs, const void* rhs) const { return compare_type( *reinterpret_cast(lhs), *reinterpret_cast(rhs) ); } -}; // namespace android - +} // namespace android // --------------------------------------------------------------------------- diff --git a/libutils/include/utils/StopWatch.h b/libutils/include/utils/StopWatch.h index 76d78d0f4..9b14ac809 100644 --- a/libutils/include/utils/StopWatch.h +++ b/libutils/include/utils/StopWatch.h @@ -52,9 +52,7 @@ private: int mNumLaps; }; - -}; // namespace android - +} // namespace android // --------------------------------------------------------------------------- diff --git a/libutils/include/utils/SystemClock.h b/libutils/include/utils/SystemClock.h index 01db34078..f816fbaf7 100644 --- a/libutils/include/utils/SystemClock.h +++ b/libutils/include/utils/SystemClock.h @@ -26,7 +26,7 @@ int64_t uptimeMillis(); int64_t elapsedRealtime(); int64_t elapsedRealtimeNano(); -}; // namespace android +} // namespace android #endif // ANDROID_UTILS_SYSTEMCLOCK_H diff --git a/libutils/include/utils/Thread.h b/libutils/include/utils/Thread.h index 598298de5..352513898 100644 --- a/libutils/include/utils/Thread.h +++ b/libutils/include/utils/Thread.h @@ -110,8 +110,7 @@ private: #endif }; - -}; // namespace android +} // namespace android // --------------------------------------------------------------------------- #endif // _LIBS_UTILS_THREAD_H diff --git a/libutils/include/utils/ThreadDefs.h b/libutils/include/utils/ThreadDefs.h index ae091e40f..8eb3d1cbe 100644 --- a/libutils/include/utils/ThreadDefs.h +++ b/libutils/include/utils/ThreadDefs.h @@ -66,9 +66,8 @@ enum { }; // --------------------------------------------------------------------------- -}; // namespace android +} // namespace android #endif // __cplusplus // --------------------------------------------------------------------------- - #endif // _LIBS_UTILS_THREAD_DEFS_H diff --git a/libutils/include/utils/Trace.h b/libutils/include/utils/Trace.h index 5e9229c1e..4b9c91ec5 100644 --- a/libutils/include/utils/Trace.h +++ b/libutils/include/utils/Trace.h @@ -49,7 +49,7 @@ private: uint64_t mTag; }; -}; // namespace android +} // namespace android #else // !__ANDROID__ diff --git a/libutils/include/utils/Vector.h b/libutils/include/utils/Vector.h index a1a0234e3..ddf71de24 100644 --- a/libutils/include/utils/Vector.h +++ b/libutils/include/utils/Vector.h @@ -425,8 +425,7 @@ UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* move_backward_type( reinterpret_cast(dest), reinterpret_cast(from), num ); } -}; // namespace android - +} // namespace android // --------------------------------------------------------------------------- diff --git a/libutils/include/utils/VectorImpl.h b/libutils/include/utils/VectorImpl.h index 4dd91fd29..55d5d9818 100644 --- a/libutils/include/utils/VectorImpl.h +++ b/libutils/include/utils/VectorImpl.h @@ -175,8 +175,7 @@ private: ssize_t replaceAt(const void* item, size_t index); }; -}; // namespace android - +} // namespace android // ---------------------------------------------------------------------------