From 2bf75ee57f33dfcb6f070f2ae3e39c7dcfb6b055 Mon Sep 17 00:00:00 2001 From: he Date: Thu, 22 Mar 2012 08:56:52 +0000 Subject: [PATCH] Add a void to make function declaration c89. --- dist/pdisk/dump.c | 2 +- lib/libc/arch/sh3/gen/flt_rounds.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/pdisk/dump.c b/dist/pdisk/dump.c index 2844b9399fab..1714b61c0d7d 100644 --- a/dist/pdisk/dump.c +++ b/dist/pdisk/dump.c @@ -390,7 +390,7 @@ dump_partition_entry(partition_map *entry, int type_length, int name_length, int void -list_all_disks() +list_all_disks(void) { MEDIA_ITERATOR iter; MEDIA m; diff --git a/lib/libc/arch/sh3/gen/flt_rounds.c b/lib/libc/arch/sh3/gen/flt_rounds.c index 936d8f4c48db..41caa5455922 100644 --- a/lib/libc/arch/sh3/gen/flt_rounds.c +++ b/lib/libc/arch/sh3/gen/flt_rounds.c @@ -1,4 +1,4 @@ -/* $NetBSD: flt_rounds.c,v 1.4 2007/01/17 23:24:22 hubertf Exp $ */ +/* $NetBSD: flt_rounds.c,v 1.5 2012/03/22 08:58:39 he Exp $ */ /* * Copyright (c) 1996 Mark Brinicombe @@ -33,7 +33,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: flt_rounds.c,v 1.4 2007/01/17 23:24:22 hubertf Exp $"); +__RCSID("$NetBSD: flt_rounds.c,v 1.5 2012/03/22 08:58:39 he Exp $"); #endif /* LIBC_SCCS and not lint */ #include @@ -75,7 +75,7 @@ static const int map[] = { extern int __flt_rounds __P((void)); int -__flt_rounds() +__flt_rounds(void) { return(map[fpgetround()]); }