clang-format, remove header added by IDE

This commit is contained in:
Chaoguang Lin 2021-01-14 17:31:13 -08:00
parent a44fa7bfe6
commit d25b8664e7
2 changed files with 3 additions and 5 deletions

View File

@ -389,12 +389,11 @@ fdb_error_t fdb_database_create_transaction( FDBDatabase* d,
*out_transaction = (FDBTransaction*)tr.extractPtr(); );
}
extern "C" DLLEXPORT
FDBFuture* fdb_database_reboot_worker( FDBDatabase* db, uint8_t const* address, int address_length, fdb_bool_t check, int duration) {
return (FDBFuture*) (DB(db)->rebootWorker(StringRef(address, address_length), check, duration).extractPtr());
extern "C" DLLEXPORT FDBFuture* fdb_database_reboot_worker(FDBDatabase* db, uint8_t const* address, int address_length,
fdb_bool_t check, int duration) {
return (FDBFuture*)(DB(db)->rebootWorker(StringRef(address, address_length), check, duration).extractPtr());
}
extern "C" DLLEXPORT
void fdb_transaction_destroy( FDBTransaction* tr ) {
try {

View File

@ -20,7 +20,6 @@
// Unit tests for the FoundationDB C API.
#include <cstdint>
#define FDB_API_VERSION 700
#include <foundationdb/fdb_c.h>
#include <assert.h>