core/service: no need for STATUS_TEXT_MAX to reside in header
This commit is contained in:
@@ -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] = {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user