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, 6 insertions, 0 deletions
diff --git a/sys/cmd/rc/word.c b/sys/cmd/rc/word.c
index 84ff40c..56a6756 100644
--- a/sys/cmd/rc/word.c
+++ b/sys/cmd/rc/word.c
@@ -1,5 +1,6 @@
#include "rc.h"
+#if 0
void
pushlist(void)
{
@@ -9,6 +10,7 @@ pushlist(void)
ls->words = nil;
ls->link = shell->stack, shell->stack = ls;
}
+#endif
void
freelist(Word *w)
@@ -22,6 +24,7 @@ freelist(Word *w)
}
}
+#if 0
void
poplist(void)
{
@@ -33,6 +36,7 @@ poplist(void)
shell->stack = ls->link;
efree(ls);
}
+#endif
int
count(Word *w)
@@ -55,6 +59,7 @@ newword(char *w, Word *link)
return wd;
}
+#if 0
void
pushword(char *w)
{
@@ -62,3 +67,4 @@ pushword(char *w)
panicf("no active stack");
shell->stack->words = newword(w, shell->stack->words);
}
+#endif