summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2015-03-04 14:42:16 -0500
committerQuentin Carbonneaux2015-03-04 14:42:16 -0500
commitf803be80fa15211191b5f775b530052fbd76e9aa (patch)
treecd6e5d25dee4c133d2a7913350f38a28d1a13505
parentaea00237e3c5b7dd78564be9a6896ddb0c5c566e (diff)
remove unused function
-rw-r--r--miniyacc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/miniyacc.c b/miniyacc.c
index 13e906f..b9cd43d 100644
--- a/miniyacc.c
+++ b/miniyacc.c
@@ -143,16 +143,6 @@ rfind(Sym lhs)
return r;
}
-Sym *
-salloc(int n)
-{
- Sym *s;
-
- s = yalloc(n+1, sizeof s[0]);
- s[n] = S;
- return s;
-}
-
int
slen(Sym *l)
{