core/service: no need for STATUS_TEXT_MAX to reside in header

This commit is contained in:
Mike Yuan
2025-11-04 12:17:30 +01:00
parent 969c8050d8
commit af3a197515
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -56,6 +56,8 @@
#include "unit-name.h"
#include "utf8.h"
#define STATUS_TEXT_MAX (16U*1024U)
#define service_spawn(...) service_spawn_internal(__func__, __VA_ARGS__)
static const UnitActiveState state_translation_table[_SERVICE_STATE_MAX] = {
-2
View File
@@ -298,7 +298,5 @@ ServiceTimeoutFailureMode service_timeout_failure_mode_from_string(const char *s
DEFINE_CAST(SERVICE, Service);
#define STATUS_TEXT_MAX (16U*1024U)
/* Only exported for unit tests */
int service_deserialize_exec_command(Unit *u, const char *key, const char *value);