]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/port/port_example.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rocksdb / port / port_example.h
index e4bcb329b1cf58123dc9889614fc7ae06cff8f93..b906bbec7ab76d75495875c43b225fefd52b9c39 100644 (file)
@@ -1,7 +1,7 @@
 //  Copyright (c) 2011-present, Facebook, Inc.  All rights reserved.
-//  This source code is licensed under the BSD-style license found in the
-//  LICENSE file in the root directory of this source tree. An additional grant
-//  of patent rights can be found in the PATENTS file in the same directory.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
 //
 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // specific port_<platform>.h file.  Use this file as a reference for
 // how to port this package to a new platform.
 
-#ifndef STORAGE_LEVELDB_PORT_PORT_EXAMPLE_H_
-#define STORAGE_LEVELDB_PORT_PORT_EXAMPLE_H_
+#pragma once
 
-namespace rocksdb {
+namespace ROCKSDB_NAMESPACE {
 namespace port {
 
 // TODO(jorlow): Many of these belong more in the environment class rather than
@@ -99,6 +98,4 @@ extern bool Snappy_Uncompress(const char* input_data, size_t input_length,
                               char* output);
 
 }  // namespace port
-}  // namespace rocksdb
-
-#endif  // STORAGE_LEVELDB_PORT_PORT_EXAMPLE_H_
+}  // namespace ROCKSDB_NAMESPACE