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()]); }