Move service type id constants into service-constants.h
authorDavin McCall <davmac@davmac.org>
Mon, 24 Sep 2018 17:30:24 +0000 (18:30 +0100)
committerDavin McCall <davmac@davmac.org>
Mon, 24 Sep 2018 17:30:24 +0000 (18:30 +0100)
src/includes/service-constants.h
src/includes/service.h

index 1716cf2bfe779184bb6f3895029317eb47450898..0e20782aba4e93fc675e36d2be7b2a97aa11d7a2 100644 (file)
@@ -61,4 +61,8 @@ enum class dependency_type
     MILESTONE   // dependency must start successfully, but once started the dependency becomes soft
 };
 
+// Service set type identifiers:
+constexpr int SSET_TYPE_NONE = 0;
+constexpr int SSET_TYPE_DIRLOAD = 1;
+
 #endif
index 320cf8d2b375f974c713e694f8c856da1c77a44a..9d250aac3d79bd896cb0c5a3e9cc65fd5cd36950 100644 (file)
@@ -731,10 +731,6 @@ inline auto extract_console_queue(service_record *sr) -> decltype(sr->console_qu
     return sr->console_queue_node;
 }
 
-// Service set type identifiers:
-constexpr int SSET_TYPE_NONE = 0;
-constexpr int SSET_TYPE_DIRLOAD = 1;
-
 /*
  * A service_set, as the name suggests, manages a set of services.
  *