summaryrefslogtreecommitdiff
path: root/bin/ksh/main.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-11 18:53:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-11 18:53:52 +0000
commit3f4357f701bd93523718fad49f37ca46a1bf7b7c (patch)
treed5bb381a2c97d21f3a239000de6dadce20e8ab62 /bin/ksh/main.c
parentd50c1064a55a09bd16da6a333beabca9f69f31b5 (diff)
remove unused variables and functions
Diffstat (limited to 'bin/ksh/main.c')
-rw-r--r--bin/ksh/main.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/bin/ksh/main.c b/bin/ksh/main.c
index e8ef8228942..08cdf121084 100644
--- a/bin/ksh/main.c
+++ b/bin/ksh/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.38 2005/03/30 17:16:37 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.39 2005/12/11 18:53:51 deraadt Exp $ */
/*
* startup, main loop, environments and error handling
@@ -745,11 +745,3 @@ is_restricted(char *name)
/* accepts rsh, rksh, rpdksh, pdrksh, etc. */
return (p = strchr(name, 'r')) && strstr(p, "sh");
}
-
-void
-aerror(Area *ap, const char *msg)
-{
- internal_errorf(1, "alloc: %s", msg);
- errorf(null); /* this is never executed - keeps gcc quiet */
- /*NOTREACHED*/
-}