summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/cons.c2
-rw-r--r--device/cons.h10
2 files changed, 11 insertions, 1 deletions
diff --git a/device/cons.c b/device/cons.c
index 7fdb959..fb96d69 100644
--- a/device/cons.c
+++ b/device/cons.c
@@ -250,7 +250,7 @@ cnmaygetc()
void
cnputc(c)
- int c;
+ char c;
{
if (c == 0)
return;
diff --git a/device/cons.h b/device/cons.h
index dbe2993..be33d2b 100644
--- a/device/cons.h
+++ b/device/cons.h
@@ -21,6 +21,8 @@
* Utah $Hdr: cons.h 1.10 94/12/14$
*/
+#include <sys/types.h>
+
struct consdev {
#ifdef MACH_KERNEL
char *cn_name; /* name of device in dev_name_list */
@@ -47,3 +49,11 @@ struct consdev {
#ifdef KERNEL
extern struct consdev constab[];
#endif
+
+extern void cninit();
+
+extern int cngetc();
+
+extern int cnmaygetc();
+
+extern void cnputc(char);