X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/4452a7af2eac33dbad800bcc91f2399d62c18f53..c910b4d9d2451126ae3917b931cd4390c11e1d52:/osfmk/ppc/serial_io.h diff --git a/osfmk/ppc/serial_io.h b/osfmk/ppc/serial_io.h index 34af7efc7..a280fa1a4 100644 --- a/osfmk/ppc/serial_io.h +++ b/osfmk/ppc/serial_io.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -32,7 +32,10 @@ * @APPLE_FREE_COPYRIGHT@ */ +#ifndef _PPC_SERIAL_IO_H_ +#define _PPC_SERIAL_IO_H_ +#include #include #include @@ -107,7 +110,7 @@ extern boolean_t scc_portdeath( #endif /* 0 */ -extern int scc_putc( +extern void scc_putc( int unit, int line, int c); @@ -118,8 +121,6 @@ extern int scc_getc( boolean_t wait, boolean_t raw); - - /* * JMM - We are not really going to support this driver in SMP (barely * support it now - so just pick up the stubbed out versions. @@ -145,3 +146,5 @@ extern int scc_getc( are time delays XXX */ #define TF_ECHO 0x00000080 /* device wants user to echo input */ #define TS_MIN 0x00004000 /* buffer input chars, if possible */ + +#endif /* _PPC_SERIAL_IO_H_ */