aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/shell/ash.c b/shell/ash.c
index d23c22248..638f912c0 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -15409,7 +15409,6 @@ redirtab_copy(struct redirtab *rdtp)
15409 15409
15410#undef shellparam 15410#undef shellparam
15411#undef redirlist 15411#undef redirlist
15412#undef varinit
15413#undef vartab 15412#undef vartab
15414static int 15413static int
15415globals_var_size(int funcblocksize, struct globals_var *gvp) 15414globals_var_size(int funcblocksize, struct globals_var *gvp)
@@ -15426,9 +15425,6 @@ globals_var_size(int funcblocksize, struct globals_var *gvp)
15426 return funcblocksize; 15425 return funcblocksize;
15427} 15426}
15428 15427
15429#undef preverrout_fd
15430#undef lineno
15431#undef linenovar
15432static struct globals_var * 15428static struct globals_var *
15433globals_var_copy(struct globals_var *gvp) 15429globals_var_copy(struct globals_var *gvp)
15434{ 15430{
@@ -15520,7 +15516,7 @@ forkshell_size(int funcblocksize, struct forkshell *fs)
15520 return funcblocksize; 15516 return funcblocksize;
15521} 15517}
15522 15518
15523static struct forkshell * 15519static void
15524forkshell_copy(struct forkshell *fs, struct forkshell *new) 15520forkshell_copy(struct forkshell *fs, struct forkshell *new)
15525{ 15521{
15526 memcpy(new, fs, sizeof(struct forkshell)); /* non-pointer stuff */ 15522 memcpy(new, fs, sizeof(struct forkshell)); /* non-pointer stuff */
@@ -15538,7 +15534,6 @@ forkshell_copy(struct forkshell *fs, struct forkshell *new)
15538 ANNOT2("n", "argv"); 15534 ANNOT2("n", "argv");
15539 ANNOT_NO_DUP(xasprintf("path '%s'", fs->path ?: "NULL")); 15535 ANNOT_NO_DUP(xasprintf("path '%s'", fs->path ?: "NULL"));
15540 ANNOT("varlist"); 15536 ANNOT("varlist");
15541 return new;
15542} 15537}
15543 15538
15544#if FORKSHELL_DEBUG 15539#if FORKSHELL_DEBUG