aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/util/numbers.h
diff options
context:
space:
mode:
authorGravatar Thiago Farina <tfarina@chromium.org>2015-05-05 18:04:50 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-05-05 21:52:31 +0000
commit8a67da4d4df7c0b83f15df874a5f2c1bb62a2c29 (patch)
tree11e757255b6a8f7b6d152bc0b4decede1570e156 /src/main/cpp/util/numbers.h
parentf45e43a4b6d7e6b93a3b62082ac486335d3212da (diff)
Cleanup: Use the standard types from stdint.h.
Now that our toolchain supports stdint.h, we don't need to provide our custom types ourselves through numbers.h. -- Change-Id: I01de083e735e5cd64bcca723b19c55b9429632b7 MOS_MIGRATED_REVID=92840495
Diffstat (limited to 'src/main/cpp/util/numbers.h')
-rw-r--r--src/main/cpp/util/numbers.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/main/cpp/util/numbers.h b/src/main/cpp/util/numbers.h
index 3285a61219..3521775c11 100644
--- a/src/main/cpp/util/numbers.h
+++ b/src/main/cpp/util/numbers.h
@@ -16,21 +16,13 @@
#include <string>
-typedef signed char int8;
-typedef int int32;
-typedef long long int64; // NOLINT
-
-typedef unsigned char uint8;
-typedef unsigned int uint32;
-typedef unsigned long long uint64; // NOLINT
-
namespace blaze_util {
using std::string;
bool safe_strto32(const string &text, int *value);
-int32 strto32(const char *str, char **endptr, int base);
+int32_t strto32(const char *str, char **endptr, int base);
} // namespace blaze_util