aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/word.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/word.c')
-rw-r--r--sys/cmd/rc/word.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/cmd/rc/word.c b/sys/cmd/rc/word.c
index 56a6756..84ff40c 100644
--- a/sys/cmd/rc/word.c
+++ b/sys/cmd/rc/word.c
@@ -1,6 +1,5 @@
#include "rc.h"
-#if 0
void
pushlist(void)
{
@@ -10,7 +9,6 @@ pushlist(void)
ls->words = nil;
ls->link = shell->stack, shell->stack = ls;
}
-#endif
void
freelist(Word *w)
@@ -24,7 +22,6 @@ freelist(Word *w)
}
}
-#if 0
void
poplist(void)
{
@@ -36,7 +33,6 @@ poplist(void)
shell->stack = ls->link;
efree(ls);
}
-#endif
int
count(Word *w)
@@ -59,7 +55,6 @@ newword(char *w, Word *link)
return wd;
}
-#if 0
void
pushword(char *w)
{
@@ -67,4 +62,3 @@ pushword(char *w)
panicf("no active stack");
shell->stack->words = newword(w, shell->stack->words);
}
-#endif