old gcc
authorTim Riker <tim@rikers.org>
Fri, 17 Oct 2003 18:54:55 +0000 (18:54 -0000)
committerTim Riker <tim@rikers.org>
Fri, 17 Oct 2003 18:54:55 +0000 (18:54 -0000)
miscutils/devfsd.c

index a53328fab4d0d805f9134e294530c2835040b199..e6316d686e12e55805e1031e35f77d6b15b51324 100644 (file)
@@ -830,6 +830,9 @@ static void action_execute (const struct devfsd_notify_struct *info,
        char largv[MAX_ARGS + 1][STRING_LENGTH];
 
 #ifdef CONFIG_DEVFSD_DEBUG
+       int i;
+       char buff[1024];
+
        msg_logger( NO_DIE, LOG_INFO, "action_execute()\n");
 #endif
 
@@ -847,9 +850,6 @@ static void action_execute (const struct devfsd_notify_struct *info,
        argv[count] = NULL;
 
 #ifdef CONFIG_DEVFSD_DEBUG
-       int i;
-       char buff[1024];
-
        buff[0]='\0';
        for(i=0;argv[i]!=NULL;i++) /* argv[i] < MAX_ARGS + 1 */
        {