Add a void to make function declaration c89.
This commit is contained in:
parent
b722f9f3bf
commit
2bf75ee57f
|
@ -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;
|
||||
|
|
|
@ -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 <sys/cdefs.h>
|
||||
#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 <sys/types.h>
|
||||
|
@ -75,7 +75,7 @@ static const int map[] = {
|
|||
extern int __flt_rounds __P((void));
|
||||
|
||||
int
|
||||
__flt_rounds()
|
||||
__flt_rounds(void)
|
||||
{
|
||||
return(map[fpgetround()]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue