From 753c463deeff351ec891dd6d473ec0b9523cec1f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 25 Jun 2003 21:12:51 +0000 Subject: protos --- bin/csh/csh.h | 4 ++-- bin/csh/extern.h | 4 ++-- bin/csh/func.c | 7 +++---- bin/csh/glob.c | 6 +++--- 4 files changed, 10 insertions(+), 11 deletions(-) (limited to 'bin/csh') diff --git a/bin/csh/csh.h b/bin/csh/csh.h index 08d69dd39b8..4579013a152 100644 --- a/bin/csh/csh.h +++ b/bin/csh/csh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: csh.h,v 1.14 2003/06/11 21:09:50 deraadt Exp $ */ +/* $OpenBSD: csh.h,v 1.15 2003/06/25 21:12:39 deraadt Exp $ */ /* $NetBSD: csh.h,v 1.9 1995/03/21 09:02:40 cgd Exp $ */ /*- @@ -419,7 +419,7 @@ struct varent { #define v_right v_link[1] #define v_parent v_link[2] -struct varent *adrof1(); +struct varent *adrof1(Char *, struct varent *); #define adrof(v) adrof1(v, &shvhed) #define value(v) value1(v, &shvhed) diff --git a/bin/csh/extern.h b/bin/csh/extern.h index bac05844ef7..7a89b977a24 100644 --- a/bin/csh/extern.h +++ b/bin/csh/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.13 2003/06/23 16:42:15 deraadt Exp $ */ +/* $OpenBSD: extern.h,v 1.14 2003/06/25 21:12:39 deraadt Exp $ */ /* $NetBSD: extern.h,v 1.8 1996/10/31 23:50:54 christos Exp $ */ /*- @@ -158,7 +158,7 @@ Char *globone(Char *, int); int Gmatch(Char *, Char *); void ginit(void); Char **globall(Char **); -void rscan(Char **, void (*)()); +void rscan(Char **, void (*)(int)); void tglob(Char **); void trim(Char **); #ifdef FILEC diff --git a/bin/csh/func.c b/bin/csh/func.c index df814cb414a..b23f0437e00 100644 --- a/bin/csh/func.c +++ b/bin/csh/func.c @@ -1,4 +1,4 @@ -/* $OpenBSD: func.c,v 1.19 2003/06/23 16:42:15 deraadt Exp $ */ +/* $OpenBSD: func.c,v 1.20 2003/06/25 21:12:39 deraadt Exp $ */ /* $NetBSD: func.c,v 1.11 1996/02/09 02:28:29 christos Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)func.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: func.c,v 1.19 2003/06/23 16:42:15 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: func.c,v 1.20 2003/06/25 21:12:39 deraadt Exp $"; #endif #endif /* not lint */ @@ -1148,7 +1148,6 @@ static RLIM_TYPE getval(struct limits *lp, Char **v) { float f; - double atof(); Char *cp = *v++; f = atof(short2str(cp)); @@ -1301,7 +1300,7 @@ dosuspend(Char **v, struct command *t) { int ctpgrp; - void (*old) (); + void (*old) (int); if (loginsh) stderror(ERR_SUSPLOG); diff --git a/bin/csh/glob.c b/bin/csh/glob.c index d3c5fad1756..c886c699994 100644 --- a/bin/csh/glob.c +++ b/bin/csh/glob.c @@ -1,4 +1,4 @@ -/* $OpenBSD: glob.c,v 1.11 2003/06/11 21:09:50 deraadt Exp $ */ +/* $OpenBSD: glob.c,v 1.12 2003/06/25 21:12:39 deraadt Exp $ */ /* $NetBSD: glob.c,v 1.10 1995/03/21 09:03:01 cgd Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)glob.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: glob.c,v 1.11 2003/06/11 21:09:50 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: glob.c,v 1.12 2003/06/25 21:12:39 deraadt Exp $"; #endif #endif /* not lint */ @@ -522,7 +522,7 @@ ginit(void) } void -rscan(Char **t, void (*f)()) +rscan(Char **t, void (*f)(int)) { Char *p; -- cgit v1.2.3