summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_cons.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-09-09 18:10:37 +0000
committerdg <dg@FreeBSD.org>1995-09-09 18:10:37 +0000
commit573c688a6892861601397d1797b75cf321e5a3b6 (patch)
tree5c5482fdb7693aa63c9bbb6d03a18f671dc76e7a /sys/kern/tty_cons.c
parentcd6723126c38898598ec0452a8e70293b6599034 (diff)
downloadFreeBSD-src-573c688a6892861601397d1797b75cf321e5a3b6.zip
FreeBSD-src-573c688a6892861601397d1797b75cf321e5a3b6.tar.gz
Fixed init functions argument type - caddr_t -> void *. Fixed a couple of
compiler warnings.
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r--sys/kern/tty_cons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c
index af17d13..a47b6ce 100644
--- a/sys/kern/tty_cons.c
+++ b/sys/kern/tty_cons.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
- * $Id: cons.c,v 1.30 1995/06/26 07:39:49 bde Exp $
+ * $Id: cons.c,v 1.31 1995/09/03 05:43:01 julian Exp $
*/
#include <sys/param.h>
@@ -80,7 +80,7 @@ static struct tty *cn_tp; /* physical console tty struct */
#include <sys/devfsext.h>
#include "sys/kernel.h"
-void cndev_init(caddr_t data) /* data not used */
+void cndev_init(void *data) /* data not used */
{
void * x;
/* path name devsw minor type uid gid perm*/
OpenPOWER on IntegriCloud