Remove unused function and unnecessary prototypes, as per PR 6050 by
Joseph Myers <jsm28@cam.ac.uk>
This commit is contained in:
parent
110e8db6b0
commit
d5ad059d0d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: extern.h,v 1.5 1998/08/24 22:26:23 hubertf Exp $ */
|
||||
/* $NetBSD: extern.h,v 1.6 1998/08/29 22:40:07 hubertf Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
|
||||
|
@ -49,7 +49,6 @@ void startup __P((void));
|
|||
|
||||
/* io.c */
|
||||
void getin __P((char **, char **));
|
||||
int confirm __P((char *));
|
||||
int yes __P((int, int, int));
|
||||
int yesm __P((int, int, int));
|
||||
int next __P((void));
|
||||
|
@ -57,7 +56,9 @@ void rdata __P((void));
|
|||
int rnum __P((void));
|
||||
void rdesc __P((int));
|
||||
void rtrav __P((void));
|
||||
int twrite __P((int));
|
||||
#ifdef DEBUG
|
||||
void twrite __P((int));
|
||||
#endif
|
||||
void rvoc __P((void));
|
||||
void rlocs __P((void));
|
||||
void rdflt __P((void));
|
||||
|
@ -76,9 +77,6 @@ int main __P((int, char **));
|
|||
int save __P((char *));
|
||||
int restore __P((char *));
|
||||
|
||||
/* setup.c */
|
||||
int main __P((int, char *[]));
|
||||
|
||||
/* subr.c */
|
||||
int toting __P((int));
|
||||
int here __P((int));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: io.c,v 1.6 1997/10/11 01:53:29 lukem Exp $ */
|
||||
/* $NetBSD: io.c,v 1.7 1998/08/29 22:40:07 hubertf Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -43,7 +43,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: io.c,v 1.6 1997/10/11 01:53:29 lukem Exp $");
|
||||
__RCSID("$NetBSD: io.c,v 1.7 1998/08/29 22:40:07 hubertf Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -100,20 +100,6 @@ getin(wrd1, wrd2) /* get command from user */
|
|||
}
|
||||
}
|
||||
|
||||
int
|
||||
confirm(mesg) /* confirm irreversible action */
|
||||
char *mesg;
|
||||
{
|
||||
int result;
|
||||
printf("%s", mesg); /* tell him what he did */
|
||||
if (getchar() == 'y') /* was his first letter a 'y'? */
|
||||
result = 1;
|
||||
else
|
||||
result = 0;
|
||||
FLUSHLINE;
|
||||
return (result);
|
||||
}
|
||||
|
||||
int
|
||||
yes(x, y, z) /* confirm with rspeak */
|
||||
int x, y, z;
|
||||
|
|
Loading…
Reference in New Issue