diff options
author | costan <costan@google.com> | 2018-03-12 09:14:44 -0700 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2018-03-12 09:24:48 -0700 |
commit | aece2068d7375f987685b8b145288c5557f9ce50 (patch) | |
tree | e0a0f3b5d8c961572e8222344dbb64e43c1e217e /util/logging.h | |
parent | ddab751002588fe58955357d68d12b062e038d0d (diff) | |
download | leveldb-aece2068d7375f987685b8b145288c5557f9ce50.tar.gz |
Remove extern from function declarations.
External linkage is the default for function declarations in C++.
This also fixes ClangTidy errors generated by removing the "extern"
keyword as described above.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=188730416
Diffstat (limited to 'util/logging.h')
-rw-r--r-- | util/logging.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/logging.h b/util/logging.h index 1b450d2..13351a2 100644 --- a/util/logging.h +++ b/util/logging.h @@ -19,24 +19,24 @@ class Slice; class WritableFile; // Append a human-readable printout of "num" to *str -extern void AppendNumberTo(std::string* str, uint64_t num); +void AppendNumberTo(std::string* str, uint64_t num); // Append a human-readable printout of "value" to *str. // Escapes any non-printable characters found in "value". -extern void AppendEscapedStringTo(std::string* str, const Slice& value); +void AppendEscapedStringTo(std::string* str, const Slice& value); // Return a human-readable printout of "num" -extern std::string NumberToString(uint64_t num); +std::string NumberToString(uint64_t num); // Return a human-readable version of "value". // Escapes any non-printable characters found in "value". -extern std::string EscapeString(const Slice& value); +std::string EscapeString(const Slice& value); // Parse a human-readable number from "*in" into *value. On success, // advances "*in" past the consumed number and sets "*val" to the // numeric value. Otherwise, returns false and leaves *in in an // unspecified state. -extern bool ConsumeDecimalNumber(Slice* in, uint64_t* val); +bool ConsumeDecimalNumber(Slice* in, uint64_t* val); } // namespace leveldb |