]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: make the get_nonce() static. 42510/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 27 Jul 2021 16:27:11 +0000 (16:27 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 27 Jul 2021 16:37:53 +0000 (16:37 +0000)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/main.cc

index 2c6105af8408d268edf7ef536218295c52174249..07eb2af4157a5ece6b246c8616c29fd710390932 100644 (file)
@@ -112,7 +112,7 @@ seastar::future<> make_keyring()
   });
 }
 
-uint64_t get_nonce()
+static uint64_t get_nonce()
 {
   if (auto pid = getpid(); pid == 1 || std::getenv("CEPH_USE_RANDOM_NONCE")) {
     // we're running in a container; use a random number instead!