OSDN Git Service

ash: compile breakage fix
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 8 Oct 2009 02:19:14 +0000 (04:19 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 8 Oct 2009 02:19:14 +0000 (04:19 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c

index 2e7228d..54af39a 100644 (file)
@@ -3272,9 +3272,6 @@ struct job {
 };
 
 static struct job *makejob(/*union node *,*/ int);
-#if !JOBS
-#define forkshell(job, node, mode) forkshell(job, mode)
-#endif
 static int forkshell(struct job *, union node *, int);
 static int waitforjob(struct job *);
 
@@ -4541,9 +4538,6 @@ clear_traps(void)
 static void closescript(void);
 
 /* Called after fork(), in child */
-#if !JOBS
-# define forkchild(jp, n, mode) forkchild(jp, mode)
-#endif
 static NOINLINE void
 forkchild(struct job *jp, union node *n, int mode)
 {