summaryrefslogtreecommitdiff
path: root/bin/csh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/csh.c7
-rw-r--r--bin/csh/extern.h3
-rw-r--r--bin/csh/misc.c13
3 files changed, 5 insertions, 18 deletions
diff --git a/bin/csh/csh.c b/bin/csh/csh.c
index 04cf2d66372..3fd9d6972df 100644
--- a/bin/csh/csh.c
+++ b/bin/csh/csh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: csh.c,v 1.22 2005/02/25 16:07:10 deraadt Exp $ */
+/* $OpenBSD: csh.c,v 1.23 2005/12/11 02:41:01 deraadt Exp $ */
/* $NetBSD: csh.c,v 1.14 1995/04/29 23:21:28 mycroft Exp $ */
/*-
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#else
-static char rcsid[] = "$OpenBSD: csh.c,v 1.22 2005/02/25 16:07:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: csh.c,v 1.23 2005/12/11 02:41:01 deraadt Exp $";
#endif
#endif /* not lint */
@@ -63,9 +63,6 @@ static char rcsid[] = "$OpenBSD: csh.c,v 1.22 2005/02/25 16:07:10 deraadt Exp $"
#include "extern.h"
#include "pathnames.h"
-extern bool MapsAreInited;
-extern bool NLSMapsAreInited;
-
/*
* C Shell
*
diff --git a/bin/csh/extern.h b/bin/csh/extern.h
index 7a89b977a24..39e38a79b45 100644
--- a/bin/csh/extern.h
+++ b/bin/csh/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.14 2003/06/25 21:12:39 deraadt Exp $ */
+/* $OpenBSD: extern.h,v 1.15 2005/12/11 02:41:01 deraadt Exp $ */
/* $NetBSD: extern.h,v 1.8 1996/10/31 23:50:54 christos Exp $ */
/*-
@@ -210,7 +210,6 @@ void lshift(Char **, int);
int number(Char *);
int prefix(Char *, Char *);
Char **saveblk(Char **);
-void setzero(char *, int);
Char *strip(Char *);
Char *quote(Char *);
char *strsave(char *);
diff --git a/bin/csh/misc.c b/bin/csh/misc.c
index 3822a81de31..9271908cac3 100644
--- a/bin/csh/misc.c
+++ b/bin/csh/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.9 2003/06/11 21:09:50 deraadt Exp $ */
+/* $OpenBSD: misc.c,v 1.10 2005/12/11 02:41:01 deraadt Exp $ */
/* $NetBSD: misc.c,v 1.6 1995/03/21 09:03:09 cgd Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: misc.c,v 1.9 2003/06/11 21:09:50 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: misc.c,v 1.10 2005/12/11 02:41:01 deraadt Exp $";
#endif
#endif /* not lint */
@@ -59,15 +59,6 @@ any(char *s, int c)
return (0);
}
-void
-setzero(char *cp, int i)
-{
- if (i != 0)
- do
- *cp++ = 0;
- while (--i);
-}
-
char *
strsave(char *s)
{