summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorcostan <costan@google.com>2018-03-12 09:14:44 -0700
committerVictor Costan <pwnall@chromium.org>2018-03-12 09:24:48 -0700
commitaece2068d7375f987685b8b145288c5557f9ce50 (patch)
treee0a0f3b5d8c961572e8222344dbb64e43c1e217e /include
parentddab751002588fe58955357d68d12b062e038d0d (diff)
downloadleveldb-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 'include')
-rw-r--r--include/leveldb/env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/leveldb/env.h b/include/leveldb/env.h
index d698169..9d8ebfe 100644
--- a/include/leveldb/env.h
+++ b/include/leveldb/env.h
@@ -271,7 +271,7 @@ class LEVELDB_EXPORT FileLock {
};
// Log the specified data to *info_log if info_log is non-NULL.
-extern void Log(Logger* info_log, const char* format, ...)
+void Log(Logger* info_log, const char* format, ...)
# if defined(__GNUC__) || defined(__clang__)
__attribute__((__format__ (__printf__, 2, 3)))
# endif