aboutsummaryrefslogtreecommitdiff
path: root/src/arm/gnunet-service-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/gnunet-service-arm.c')
-rw-r--r--src/arm/gnunet-service-arm.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c
index 9c302d1de..9643273cf 100644
--- a/src/arm/gnunet-service-arm.c
+++ b/src/arm/gnunet-service-arm.c
@@ -183,28 +183,6 @@ signal_result (struct GNUNET_SERVER_Client *client,
183 183
184 184
185/** 185/**
186 * Find the process with the given PID in the
187 * given list.
188 *
189 * @return NULL if it was not found
190 */
191static struct ServiceList *
192find_pid (pid_t pid)
193{
194 struct ServiceList *pos;
195
196 pos = running;
197 while (pos != NULL)
198 {
199 if (pos->pid == pid)
200 return pos;
201 pos = pos->next;
202 }
203 return NULL;
204}
205
206
207/**
208 * Find the process with the given service 186 * Find the process with the given service
209 * name in the given list, remove it and return it. 187 * name in the given list, remove it and return it.
210 * 188 *
@@ -548,7 +526,6 @@ static void
548maint (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 526maint (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
549{ 527{
550 struct ServiceList *pos; 528 struct ServiceList *pos;
551 pid_t pid;
552 const char *statstr; 529 const char *statstr;
553 int statcode; 530 int statcode;
554 struct stat sbuf; 531 struct stat sbuf;