Add a void to make function declaration c89.

This commit is contained in:
he 2012-03-22 08:56:52 +00:00
parent b722f9f3bf
commit 2bf75ee57f
2 changed files with 4 additions and 4 deletions

2
dist/pdisk/dump.c vendored
View File

@ -390,7 +390,7 @@ dump_partition_entry(partition_map *entry, int type_length, int name_length, int
void void
list_all_disks() list_all_disks(void)
{ {
MEDIA_ITERATOR iter; MEDIA_ITERATOR iter;
MEDIA m; MEDIA m;

View File

@ -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 * Copyright (c) 1996 Mark Brinicombe
@ -33,7 +33,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint) #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 */ #endif /* LIBC_SCCS and not lint */
#include <sys/types.h> #include <sys/types.h>
@ -75,7 +75,7 @@ static const int map[] = {
extern int __flt_rounds __P((void)); extern int __flt_rounds __P((void));
int int
__flt_rounds() __flt_rounds(void)
{ {
return(map[fpgetround()]); return(map[fpgetround()]);
} }