Fixed gratuitous ANSIisms.

Removed unused declarations.
This commit is contained in:
Bruce Evans 1997-04-01 16:13:31 +00:00
parent be98721964
commit cc289dff53
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24493
2 changed files with 20 additions and 30 deletions

View File

@ -36,11 +36,11 @@
* SUCH DAMAGE.
*
* from: @(#)cons.h 7.2 (Berkeley) 5/9/91
* $Id$
* $Id: cons.h,v 1.15 1997/02/22 09:32:11 peter Exp $
*/
#ifndef _MACHINE_CONS_H_
#define _MACHINE_CONS_H_ 1
#define _MACHINE_CONS_H_
struct consdev;
typedef void cn_probe_t __P((struct consdev *));
@ -95,23 +95,18 @@ struct consdev {
#define CN_INTERNAL 2 /* "internal" bit-mapped display */
#define CN_REMOTE 3 /* serial interface with remote bit set */
/* XXX */
#define CONSMAJOR 0
#ifdef KERNEL
extern struct consdev constab[];
extern struct consdev *cn_tab;
extern int cons_unavail;
struct proc; struct uio;
/* other kernel entry points */
extern void cninit(void);
extern void cninit_finish(void);
extern int cngetc(void);
extern int cncheckc(void);
extern void cnputc(int);
extern int pg(const char *, ...);
/* Other kernel entry points. */
int cncheckc __P((void));
int cngetc __P((void));
void cninit __P((void));
void cninit_finish __P((void));
void cnputc __P((int));
#endif /* KERNEL */
#endif /* _MACHINE_CONS_H_ */
#endif /* !_MACHINE_CONS_H_ */

View File

@ -36,11 +36,11 @@
* SUCH DAMAGE.
*
* from: @(#)cons.h 7.2 (Berkeley) 5/9/91
* $Id$
* $Id: cons.h,v 1.15 1997/02/22 09:32:11 peter Exp $
*/
#ifndef _MACHINE_CONS_H_
#define _MACHINE_CONS_H_ 1
#define _MACHINE_CONS_H_
struct consdev;
typedef void cn_probe_t __P((struct consdev *));
@ -95,23 +95,18 @@ struct consdev {
#define CN_INTERNAL 2 /* "internal" bit-mapped display */
#define CN_REMOTE 3 /* serial interface with remote bit set */
/* XXX */
#define CONSMAJOR 0
#ifdef KERNEL
extern struct consdev constab[];
extern struct consdev *cn_tab;
extern int cons_unavail;
struct proc; struct uio;
/* other kernel entry points */
extern void cninit(void);
extern void cninit_finish(void);
extern int cngetc(void);
extern int cncheckc(void);
extern void cnputc(int);
extern int pg(const char *, ...);
/* Other kernel entry points. */
int cncheckc __P((void));
int cngetc __P((void));
void cninit __P((void));
void cninit_finish __P((void));
void cnputc __P((int));
#endif /* KERNEL */
#endif /* _MACHINE_CONS_H_ */
#endif /* !_MACHINE_CONS_H_ */