move
authorChristian Grothoff <christian@grothoff.org>
Sat, 6 Feb 2010 12:51:54 +0000 (12:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 6 Feb 2010 12:51:54 +0000 (12:51 +0000)
src/arm/gnunet-service-arm.c

index c7d5a62d24c9a94bd04865ca098bf2459c8e75d1..77af19bf14de08aae2aedd4a9c6c249aff5ec2d0 100644 (file)
@@ -809,6 +809,8 @@ maint_child_death (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   int statcode;
   int ret;
   char c[16];
+  enum GNUNET_OS_ProcessStatusType statusType;
+  unsigned long statusCode;
 
   child_death_task = GNUNET_SCHEDULER_NO_TASK;
   if (0 == (tc->reason & GNUNET_SCHEDULER_REASON_READ_READY))
@@ -826,9 +828,6 @@ maint_child_death (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   next = running;
   while (NULL != (pos = next))
     {
-      enum GNUNET_OS_ProcessStatusType statusType;
-      unsigned long statusCode;
-
       next = pos->next;
       if (pos->pid == 0) 
        {