File tree 2 files changed +6
-22
lines changed
2 files changed +6
-22
lines changed Original file line number Diff line number Diff line change 1
- /* $NetBSD: extern.h,v 1.5 1998/08/24 22:26:23 hubertf Exp $ */
1
+ /* $NetBSD: extern.h,v 1.6 1998/08/29 22:40:07 hubertf Exp $ */
2
2
3
3
/*
4
4
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -49,15 +49,16 @@ void startup __P((void));
49
49
50
50
/* io.c */
51
51
void getin __P ((char * * , char * * ) );
52
- int confirm __P ((char * ) );
53
52
int yes __P ((int , int , int ));
54
53
int yesm __P ((int , int , int ));
55
54
int next __P ((void ));
56
55
void rdata __P ((void ));
57
56
int rnum __P ((void ));
58
57
void rdesc __P ((int ));
59
58
void rtrav __P ((void ));
60
- int twrite __P ((int ));
59
+ #ifdef DEBUG
60
+ void twrite __P ((int ));
61
+ #endif
61
62
void rvoc __P ((void ));
62
63
void rlocs __P ((void ));
63
64
void rdflt __P ((void ));
@@ -76,9 +77,6 @@ int main __P((int, char **));
76
77
int save __P ((char * ) );
77
78
int restore __P ((char * ) );
78
79
79
- /* setup.c */
80
- int main __P ((int , char * []));
81
-
82
80
/* subr.c */
83
81
int toting __P ((int ));
84
82
int here __P ((int ));
Original file line number Diff line number Diff line change 1
- /* $NetBSD: io.c,v 1.6 1997/10/11 01:53:29 lukem Exp $ */
1
+ /* $NetBSD: io.c,v 1.7 1998/08/29 22:40:07 hubertf Exp $ */
2
2
3
3
/*-
4
4
* Copyright (c) 1991, 1993
43
43
#if 0
44
44
static char sccsid [] = "@(#)io.c 8.1 (Berkeley) 5/31/93" ;
45
45
#else
46
- __RCSID ("$NetBSD: io.c,v 1.6 1997/10/11 01:53:29 lukem Exp $" );
46
+ __RCSID ("$NetBSD: io.c,v 1.7 1998/08/29 22:40:07 hubertf Exp $" );
47
47
#endif
48
48
#endif /* not lint */
49
49
@@ -100,20 +100,6 @@ getin(wrd1, wrd2) /* get command from user */
100
100
}
101
101
}
102
102
103
- int
104
- confirm (mesg ) /* confirm irreversible action */
105
- char * mesg ;
106
- {
107
- int result ;
108
- printf ("%s" , mesg ); /* tell him what he did */
109
- if (getchar () == 'y' ) /* was his first letter a 'y'? */
110
- result = 1 ;
111
- else
112
- result = 0 ;
113
- FLUSHLINE ;
114
- return (result );
115
- }
116
-
117
103
int
118
104
yes (x , y , z ) /* confirm with rspeak */
119
105
int x , y , z ;
You can’t perform that action at this time.
0 commit comments