From 406b95197c4550dc22fb70ab6b805a40d80b064e Mon Sep 17 00:00:00 2001 From: Anand Ananthabhotla Date: Wed, 25 Apr 2018 15:29:36 -0700 Subject: [PATCH] Fix clang build failure with -Wgnu-redeclared-enum Summary: In include/rocksdb/db.h, enum EntryType is redeclared even though original declaration in types.h in included. Closes https://github.com/facebook/rocksdb/pull/3766 Differential Revision: D7765504 Pulled By: anand1976 fbshipit-source-id: 622a8ecb306993915be1b9dd5cdd79dbc6a4ea05 --- include/rocksdb/db.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/rocksdb/db.h b/include/rocksdb/db.h index 4252e031e..bfb207958 100644 --- a/include/rocksdb/db.h +++ b/include/rocksdb/db.h @@ -53,7 +53,6 @@ struct ExternalSstFileInfo; class WriteBatch; class Env; class EventListener; -enum EntryType; using std::unique_ptr;