]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/common_init: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Mon, 28 Oct 2024 22:28:25 +0000 (23:28 +0100)
committerMax Kellermann <max.kellermann@ionos.com>
Mon, 9 Dec 2024 21:51:33 +0000 (22:51 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/common_init.cc
src/common/common_init.h

index f3ca0326137818bba83446d8343a565e871d9d33..5e61c507831a502942f92397207fe8eec78ced4e 100644 (file)
@@ -12,7 +12,6 @@
  *
  */
 
-#include "include/compat.h"
 #include "common/common_init.h"
 #include "common/admin_socket.h"
 #include "common/ceph_argparse.h"
@@ -23,6 +22,8 @@
 #include "common/strtol.h"
 #include "common/valgrind.h"
 #include "common/zipkin_trace.h"
+#include "include/compat.h"
+#include "log/Log.h"
 
 #define dout_subsys ceph_subsys_
 
index b9e1417396a55303e85af6a9e5bd27bc98e42021..a6940c6eb89236cb65c0f8e098d81b44bb1ba39c 100644 (file)
 #ifndef CEPH_COMMON_INIT_H
 #define CEPH_COMMON_INIT_H
 
-#include <deque>
-
 #include "include/common_fwd.h"
 #include "common/code_environment.h"
 
+#include <string>
+
 enum common_init_flags_t {
   // Set up defaults that make sense for an unprivileged daemon
   CINIT_FLAG_UNPRIVILEGED_DAEMON_DEFAULTS = 0x1,