summaryrefslogtreecommitdiff
path: root/cache
diff options
context:
space:
mode:
authorSiying Dong <siying.d@fb.com>2017-04-27 17:50:56 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2017-04-27 18:06:12 -0700
commitd616ebea23fa88cb9c2c8588533526a566d9cfab (patch)
treed5f0aae689d92f89005f7e8da4cbdd8c8207a0f7 /cache
parent4439b4596e6449b13bbcd5c792dce74499600f18 (diff)
Add GPLv2 as an alternative license.
Summary: Closes https://github.com/facebook/rocksdb/pull/2226 Differential Revision: D4967547 Pulled By: siying fbshipit-source-id: dd3b58ae1e7a106ab6bb6f37ab5c88575b125ab4
Diffstat (limited to 'cache')
-rw-r--r--cache/cache_bench.cc2
-rw-r--r--cache/cache_test.cc2
-rw-r--r--cache/clock_cache.cc2
-rw-r--r--cache/lru_cache.cc2
-rw-r--r--cache/lru_cache.h2
-rw-r--r--cache/lru_cache_test.cc2
-rw-r--r--cache/sharded_cache.cc2
-rw-r--r--cache/sharded_cache.h2
8 files changed, 16 insertions, 0 deletions
diff --git a/cache/cache_bench.cc b/cache/cache_bench.cc
index 905d6bdd6..fda11b869 100644
--- a/cache/cache_bench.cc
+++ b/cache/cache_bench.cc
@@ -2,6 +2,8 @@
// 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 also licensed under the GPLv2 license found in the
+// COPYING file in the root directory of this source tree.
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
diff --git a/cache/cache_test.cc b/cache/cache_test.cc
index d59939cc2..271cb0e6d 100644
--- a/cache/cache_test.cc
+++ b/cache/cache_test.cc
@@ -2,6 +2,8 @@
// 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 also licensed under the GPLv2 license found in the
+// COPYING file in the root directory of this source tree.
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
diff --git a/cache/clock_cache.cc b/cache/clock_cache.cc
index 03396c016..afcf6345c 100644
--- a/cache/clock_cache.cc
+++ b/cache/clock_cache.cc
@@ -2,6 +2,8 @@
// 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 also licensed under the GPLv2 license found in the
+// COPYING file in the root directory of this source tree.
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
diff --git a/cache/lru_cache.cc b/cache/lru_cache.cc
index bd09cb26f..4751c0b13 100644
--- a/cache/lru_cache.cc
+++ b/cache/lru_cache.cc
@@ -2,6 +2,8 @@
// 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 also licensed under the GPLv2 license found in the
+// COPYING file in the root directory of this source tree.
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
diff --git a/cache/lru_cache.h b/cache/lru_cache.h
index c12adb9f5..28f87193e 100644
--- a/cache/lru_cache.h
+++ b/cache/lru_cache.h
@@ -2,6 +2,8 @@
// 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 also licensed under the GPLv2 license found in the
+// COPYING file in the root directory of this source tree.
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
diff --git a/cache/lru_cache_test.cc b/cache/lru_cache_test.cc
index 038ac1eaf..d7e661a12 100644
--- a/cache/lru_cache_test.cc
+++ b/cache/lru_cache_test.cc
@@ -2,6 +2,8 @@
// 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 also licensed under the GPLv2 license found in the
+// COPYING file in the root directory of this source tree.
#include "cache/lru_cache.h"
diff --git a/cache/sharded_cache.cc b/cache/sharded_cache.cc
index 3b7d0bb0a..81e7122e4 100644
--- a/cache/sharded_cache.cc
+++ b/cache/sharded_cache.cc
@@ -2,6 +2,8 @@
// 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 also licensed under the GPLv2 license found in the
+// COPYING file in the root directory of this source tree.
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
diff --git a/cache/sharded_cache.h b/cache/sharded_cache.h
index 1f9efd7ce..c2d52c840 100644
--- a/cache/sharded_cache.h
+++ b/cache/sharded_cache.h
@@ -2,6 +2,8 @@
// 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 also licensed under the GPLv2 license found in the
+// COPYING file in the root directory of this source tree.
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be