diff options
author | Elliott Hughes <enh@google.com> | 2024-02-09 16:40:02 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2024-02-09 16:40:02 +0000 |
commit | 29cd07132da2f5182a0d8ee1327c7175efbf019d (patch) | |
tree | 19864ce7e1af94d7e295f4642b4b949abd66d9ad /libutils | |
parent | c72c9a6d3c460d10fd5f9dfcd537daab261df168 (diff) | |
download | core-29cd07132da2f5182a0d8ee1327c7175efbf019d.tar.gz |
Remove obsolete __STDC_LIMIT_MACROS references.
None of our libcs need this any more.
Test: treehugger
Change-Id: I8a942ad6b3860633a6d722bd237a7c75482499eb
Diffstat (limited to 'libutils')
-rw-r--r-- | libutils/binder/SharedBuffer_test.cpp | 2 | ||||
-rw-r--r-- | libutils/binder/String8.cpp | 4 | ||||
-rw-r--r-- | libutils/binder/Vector_test.cpp | 1 |
3 files changed, 1 insertions, 6 deletions
diff --git a/libutils/binder/SharedBuffer_test.cpp b/libutils/binder/SharedBuffer_test.cpp index 1d6317ff7..26702b037 100644 --- a/libutils/binder/SharedBuffer_test.cpp +++ b/libutils/binder/SharedBuffer_test.cpp @@ -14,8 +14,6 @@ * limitations under the License. */ -#define __STDC_LIMIT_MACROS - #include <gtest/gtest.h> #include <memory> diff --git a/libutils/binder/String8.cpp b/libutils/binder/String8.cpp index 749bfcbb5..1de9e8b17 100644 --- a/libutils/binder/String8.cpp +++ b/libutils/binder/String8.cpp @@ -14,15 +14,13 @@ * limitations under the License. */ -#define __STDC_LIMIT_MACROS -#include <stdint.h> - #include <utils/String8.h> #include <log/log.h> #include <utils/String16.h> #include <ctype.h> +#include <stdint.h> #include <limits> #include <string> diff --git a/libutils/binder/Vector_test.cpp b/libutils/binder/Vector_test.cpp index 6d90eaa9e..312dcf688 100644 --- a/libutils/binder/Vector_test.cpp +++ b/libutils/binder/Vector_test.cpp @@ -16,7 +16,6 @@ #define LOG_TAG "Vector_test" -#define __STDC_LIMIT_MACROS #include <stdint.h> #include <unistd.h> |