summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-15 18:19:54 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-15 18:19:54 +0000
commitde0519636e72969a9359cf27a32e00375235e343 (patch)
tree3670fa3ad7bf3bf88d6e1ab3add73f82987d555e /sys/arch/hppa
parente018051dbb8764df0d8660f8e0e82fa3eaefb0c4 (diff)
Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things
the ANSI way.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/stand/libsa/ct.c7
-rw-r--r--sys/arch/hppa/stand/libsa/dk.c7
-rw-r--r--sys/arch/hppa/stand/libsa/lf.c7
3 files changed, 3 insertions, 18 deletions
diff --git a/sys/arch/hppa/stand/libsa/ct.c b/sys/arch/hppa/stand/libsa/ct.c
index 6b30f5a5458..6d025319374 100644
--- a/sys/arch/hppa/stand/libsa/ct.c
+++ b/sys/arch/hppa/stand/libsa/ct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ct.c,v 1.5 1999/04/20 20:01:01 mickey Exp $ */
+/* $OpenBSD: ct.c,v 1.6 2002/03/15 18:19:52 millert Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -67,12 +67,7 @@ iodcio_t ctiodc; /* cartridge tape IODC entry point */
int ctcode[IODC_MAXSIZE/sizeof(int)];
int
-#ifdef __STDC__
ctopen(struct open_file *f, ...)
-#else
-ctopen(f)
- struct open_file *f;
-#endif
{
register struct hppa_dev *dp = f->f_devdata;
int ret;
diff --git a/sys/arch/hppa/stand/libsa/dk.c b/sys/arch/hppa/stand/libsa/dk.c
index b974fec4085..e70092add26 100644
--- a/sys/arch/hppa/stand/libsa/dk.c
+++ b/sys/arch/hppa/stand/libsa/dk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dk.c,v 1.5 1999/04/20 20:01:01 mickey Exp $ */
+/* $OpenBSD: dk.c,v 1.6 2002/03/15 18:19:52 millert Exp $ */
/*
* Copyright 1996 1995 by Open Software Foundation, Inc.
@@ -50,12 +50,7 @@ dk_disklabel(dp, label)
}
int
-#ifdef __STDC__
dkopen(struct open_file *f, ...)
-#else
-dkopen(f, va_alist)
- struct open_file *f;
-#endif
{
register struct disklabel *lp;
register struct hppa_dev *dp = f->f_devdata;
diff --git a/sys/arch/hppa/stand/libsa/lf.c b/sys/arch/hppa/stand/libsa/lf.c
index 5440e4dbee6..73a68a22f3a 100644
--- a/sys/arch/hppa/stand/libsa/lf.c
+++ b/sys/arch/hppa/stand/libsa/lf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lf.c,v 1.3 1999/04/20 20:01:02 mickey Exp $ */
+/* $OpenBSD: lf.c,v 1.4 2002/03/15 18:19:52 millert Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -38,12 +38,7 @@
#include "dev_hppa.h"
int
-#ifdef __STDC__
lfopen(struct open_file *f, ...)
-#else
-lfopen(f, va_alist)
- struct open_file *f;
-#endif
{
register struct hppa_dev *dp = f->f_devdata;;