rocksdb/utilities
Peter Dillinger 4e60663b31 Remove unnecessary, confusing 'extern' (#12300)
Summary:
In C++, `extern` is redundant in a number of cases:
* "Global" function declarations and definitions
* "Global" variable definitions when already declared `extern`

For consistency and simplicity, I've removed these in code that *we own*. In a couple of cases, I removed obsolete declarations, and for MagicNumber constants, I have consolidated the declarations into a header file (format.h)
as standard best practice would prescribe.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/12300

Test Plan: no functional changes, CI

Reviewed By: ajkr

Differential Revision: D53148629

Pulled By: pdillinger

fbshipit-source-id: fb8d927959892e03af09b0c0d542b0a3b38fd886
2024-01-29 10:38:08 -08:00
..
agg_merge Remove unnecessary, confusing 'extern' (#12300) 2024-01-29 10:38:08 -08:00
backup Pass rate_limiter_priority from SequentialFileReader to FS (#12296) 2024-01-25 18:20:31 -08:00
blob_db Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
cassandra
checkpoint Remove the default force behavior for `EnableFileDeletion` API (#12001) 2023-11-10 14:35:54 -08:00
compaction_filters
convenience
leveldb_options
memory
merge_operators Add missing license to source files (#12083) 2023-11-21 08:36:30 -08:00
option_change_migration Enforce status checking after Valid() returns false for IteratorWrapper (#11975) 2023-10-18 09:38:38 -07:00
options Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
persistent_cache Group rocksdb.sst.read.micros stat by different user read IOActivity + misc (#11444) 2023-08-08 17:26:50 -07:00
simulator_cache Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
table_properties_collectors
trace Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
transactions Remove extra semi colon from internal_repo_rocksdb/repo/utilities/transactions/lock/range/range_tree/lib/locktree/manager.cc (#12276) 2024-01-24 07:25:27 -08:00
ttl Allow `TtlMergeOperator` to wrap an unregistered `MergeOperator` (#12056) 2023-11-10 16:57:17 -08:00
write_batch_with_index Some further cleanup in WriteBatchWithIndex::MultiGetFromBatchAndDB (#12143) 2023-12-13 17:34:18 -08:00
cache_dump_load.cc
cache_dump_load_impl.cc
cache_dump_load_impl.h Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
compaction_filters.cc
counted_fs.cc
counted_fs.h
debug.cc
env_mirror.cc Remove extra semi colon from internal_repo_rocksdb/repo/utilities/env_mirror.cc (#12271) 2024-01-24 07:37:31 -08:00
env_mirror_test.cc
env_timed.cc
env_timed.h
env_timed_test.cc
fault_injection_env.cc
fault_injection_env.h test: WritableFile derived class: add missing GetFileSize() override (#11726) 2023-09-29 15:58:08 -07:00
fault_injection_fs.cc Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
fault_injection_fs.h Remove extra semi colon from internal_repo_rocksdb/repo/utilities/fault_injection_fs.h (#12279) 2024-01-24 07:16:00 -08:00
fault_injection_secondary_cache.cc Add some compressed and tiered secondary cache stats (#12150) 2023-12-15 11:34:08 -08:00
fault_injection_secondary_cache.h Add some compressed and tiered secondary cache stats (#12150) 2023-12-15 11:34:08 -08:00
memory_allocators.h
merge_operators.cc
merge_operators.h
object_registry.cc
object_registry_test.cc
util_merge_operators_test.cc
wal_filter.cc