Module Name: src
Committed By: he
Date: Thu Mar 22 08:58:39 UTC 2012
Modified Files:
src/lib/libc/arch/sh3/gen: flt_rounds.c
Log Message:
Add a void to make function declaration c89.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/arch/sh3/gen/flt_rounds.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/sh3/gen/flt_rounds.c
diff -u src/lib/libc/arch/sh3/gen/flt_rounds.c:1.4 src/lib/libc/arch/sh3/gen/flt_rounds.c:1.5
--- src/lib/libc/arch/sh3/gen/flt_rounds.c:1.4 Wed Jan 17 23:24:22 2007
+++ src/lib/libc/arch/sh3/gen/flt_rounds.c Thu Mar 22 08:58:39 2012
@@ -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()]);
}