summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2009-03-17 00:18:40 +0000
committerhe <he@NetBSD.org>2009-03-17 00:18:40 +0000
commit62f5486c1b00a8713d4b74bcbc7a96336f32a63e (patch)
tree1e79986c738f7eb39b818354a511f559e01920fa
parent715f7f5caaff6ce5f121f1f8fa736ef8053eb929 (diff)
Make a couple of functions conform to the prototype, restoring buildability.
-rw-r--r--sys/arch/atari/stand/bootpref/bootpref.c4
-rw-r--r--sys/arch/atari/stand/libsa/diskio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/atari/stand/bootpref/bootpref.c b/sys/arch/atari/stand/bootpref/bootpref.c
index 9a737ca616f..194bf387617 100644
--- a/sys/arch/atari/stand/bootpref/bootpref.c
+++ b/sys/arch/atari/stand/bootpref/bootpref.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bootpref.c,v 1.5 2009/03/14 21:04:07 dsl Exp $ */
+/* $NetBSD: bootpref.c,v 1.6 2009/03/17 00:18:40 he Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -379,7 +379,7 @@ getNVpref (int fd, u_char bootpref[])
}
static void
-setNVpref (int fd, u_char bootpref[], set, int verbose)
+setNVpref (int fd, u_char bootpref[], int set, int verbose)
{
/* Boot OS */
if (set & SET_OS) {
diff --git a/sys/arch/atari/stand/libsa/diskio.c b/sys/arch/atari/stand/libsa/diskio.c
index 57236c49303..4ff6da8631f 100644
--- a/sys/arch/atari/stand/libsa/diskio.c
+++ b/sys/arch/atari/stand/libsa/diskio.c
@@ -1,4 +1,4 @@
-/* $NetBSD: diskio.c,v 1.7 2009/03/14 21:04:07 dsl Exp $ */
+/* $NetBSD: diskio.c,v 1.8 2009/03/17 00:18:40 he Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens.
@@ -105,7 +105,7 @@ rootstrategy (void *devd, int flag, daddr_t dblk, size_t size, void *buf, size_t
}
static int
-rootopen (struct open_file *f)
+rootopen (struct open_file *f, ...)
{
return(0);
}