From 584266f8215d913ce0c226f63da51c77d1074f09 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 22 Feb 2016 12:38:10 +0200 Subject: Get rid of progman_iterate_comp * src/inetd-bi.c (tcpmux): Use component_foreach to handle help requests. * src/progman.c (progman_iterate_comp): Removed. * src/pies.h: Likewise. --- src/pies.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/pies.h') diff --git a/src/pies.h b/src/pies.h index d4b5c6a..93f90b1 100644 --- a/src/pies.h +++ b/src/pies.h @@ -349,9 +349,6 @@ struct component *progman_lookup_tcpmux (const char *service, void progman_run_comp (struct component *comp, int fd, union pies_sockaddr_storage *sa, socklen_t salen); -void progman_iterate_comp (int (*fun) (struct component *, void *), - void *data); - void fd_report (int fd, const char *msg); int check_acl (pies_acl_t acl, struct sockaddr *s, socklen_t salen, @@ -572,7 +569,8 @@ extern char *init_fifo; #define INIT_CMD_CHANGECONS 12345 -struct sysvinit_request { +struct sysvinit_request +{ int magic; /* Magic number */ int cmd; /* What kind of request */ int runlevel; /* Runlevel to change to */ -- cgit v1.2.1