From 6310a8261c922533a692fb3e74ece2da98d4bafa Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 20 Apr 2010 14:29:05 -0700 Subject: init: Split parser into generic parser and init parser Change-Id: I451ebc4ff12f2ac660eb533fa10ad561fa25c9dd --- init/init.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'init/init.h') diff --git a/init/init.h b/init/init.h index 59d72c0..8691335 100644 --- a/init/init.h +++ b/init/init.h @@ -19,6 +19,8 @@ #include "list.h" +#include + void handle_control_message(const char *msg, const char *arg); struct command @@ -70,8 +72,6 @@ struct svcenvinfo { #define NR_SVC_SUPP_GIDS 12 /* twelve supplementary groups */ -#define SVC_MAXARGS 64 - #define COMMAND_RETRY_TIMEOUT 5 struct service { @@ -110,8 +110,6 @@ struct service { char *args[1]; }; /* ^-------'args' MUST be at the end of this struct! */ -int parse_config_file(const char *fn); - void notify_service_state(const char *name, const char *state); struct service *service_find_by_name(const char *name); -- cgit v1.1