From: Matt Benjamin Date: Wed, 17 Feb 2016 15:46:21 +0000 (-0500) Subject: rgw: move signal.h dependency from rgw_front.h X-Git-Tag: v10.1.0~365^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ebfc6bfd10b271a621e5fe286ef526ff5a9beaed;p=ceph.git rgw: move signal.h dependency from rgw_front.h Missed in refactoring of rgw_main.cc. Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_frontend.cc b/src/rgw/rgw_frontend.cc index 7c25095bc1f51..24e186e2d4675 100644 --- a/src/rgw/rgw_frontend.cc +++ b/src/rgw/rgw_frontend.cc @@ -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 +#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); +} diff --git a/src/rgw/rgw_frontend.h b/src/rgw/rgw_frontend.h index 836e1e7632a42..11497d4b0d0b4 100644 --- a/src/rgw/rgw_frontend.h +++ b/src/rgw/rgw_frontend.h @@ -102,10 +102,7 @@ public: return 0; } - void stop() { - pprocess->close_fd(); - thread->kill(SIGUSR1); - } + void stop(); void join() { thread->join();