Use c89 function declaration.

This commit is contained in:
he 2012-03-21 20:04:57 +00:00
parent 2fa47ecfcb
commit 2d215eaf5b
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: flt_rounds.c,v 1.3 2006/02/25 00:58:35 wiz Exp $ */
/* $NetBSD: flt_rounds.c,v 1.4 2012/03/21 20:04:57 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.3 2006/02/25 00:58:35 wiz Exp $");
__RCSID("$NetBSD: flt_rounds.c,v 1.4 2012/03/21 20:04:57 he Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@ -75,7 +75,7 @@ static const int map[] = {
int __flt_rounds(void);
int
__flt_rounds()
__flt_rounds(void)
{
return(map[fpgetround()]);
}