]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: move signal.h dependency from rgw_front.h 7678/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 17 Feb 2016 15:46:21 +0000 (10:46 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 17 Feb 2016 15:46:21 +0000 (10:46 -0500)
Missed in refactoring of rgw_main.cc.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_frontend.cc
src/rgw/rgw_frontend.h

index 7c25095bc1f512c396aa02e3e621c30da17b1c4e..24e186e2d4675fc004f01aef7b0494bda6ac1e5b 100644 (file)
@@ -1,8 +1,9 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
-#include "rgw_frontend.h"
+#include <signal.h>
 
+#include "rgw_frontend.h"
 #include "include/str_list.h"
 
 #include "include/assert.h"
@@ -77,3 +78,9 @@ bool RGWFrontendConfig::get_val(const string& key, int def_val, int *out)
   }
   return 0;
 }
+
+void RGWProcessFrontend::stop()
+{
+  pprocess->close_fd();
+  thread->kill(SIGUSR1);
+}
index 836e1e7632a4263c574646dc8b525315785fd1f0..11497d4b0d0b45143b3b5c120fef4e9e3ac83132 100644 (file)
@@ -102,10 +102,7 @@ public:
     return 0;
   }
 
-  void stop() {
-    pprocess->close_fd();
-    thread->kill(SIGUSR1);
-  }
+  void stop();
 
   void join() {
     thread->join();