rocksdb/table/plain
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
..
plain_table_bloom.cc Format files under table/ by clang-format (#10852) 2022-10-25 11:50:38 -07:00
plain_table_bloom.h Meta-internal folly integration with F14FastMap (#9546) 2022-04-13 07:34:01 -07:00
plain_table_builder.cc Remove unnecessary, confusing 'extern' (#12300) 2024-01-29 10:38:08 -08:00
plain_table_builder.h Fix/cleanup SeqnoToTimeMapping (#12253) 2024-01-19 21:50:38 -08:00
plain_table_factory.cc Remove unnecessary, confusing 'extern' (#12300) 2024-01-29 10:38:08 -08:00
plain_table_factory.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
plain_table_index.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
plain_table_index.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
plain_table_key_coding.cc Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
plain_table_key_coding.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
plain_table_reader.cc Remove unnecessary, confusing 'extern' (#12300) 2024-01-29 10:38:08 -08:00
plain_table_reader.h Group rocksdb.sst.read.micros stat by IOActivity flush and compaction (#11288) 2023-04-21 09:07:18 -07:00