Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add a void to make function declaration c89.
details: https://anonhg.NetBSD.org/src/rev/6aed952ab131
branches: trunk
changeset: 778324:6aed952ab131
user: he <he%NetBSD.org@localhost>
date: Thu Mar 22 08:56:52 2012 +0000
description:
Add a void to make function declaration c89.
diffstat:
dist/pdisk/dump.c | 2 +-
lib/libc/arch/sh3/gen/flt_rounds.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r d7aa4374f013 -r 6aed952ab131 dist/pdisk/dump.c
--- a/dist/pdisk/dump.c Thu Mar 22 08:54:48 2012 +0000
+++ b/dist/pdisk/dump.c Thu Mar 22 08:56:52 2012 +0000
@@ -390,7 +390,7 @@
void
-list_all_disks()
+list_all_disks(void)
{
MEDIA_ITERATOR iter;
MEDIA m;
diff -r d7aa4374f013 -r 6aed952ab131 lib/libc/arch/sh3/gen/flt_rounds.c
--- a/lib/libc/arch/sh3/gen/flt_rounds.c Thu Mar 22 08:54:48 2012 +0000
+++ b/lib/libc/arch/sh3/gen/flt_rounds.c Thu Mar 22 08:56:52 2012 +0000
@@ -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 @@
extern int __flt_rounds __P((void));
int
-__flt_rounds()
+__flt_rounds(void)
{
return(map[fpgetround()]);
}
Home |
Main Index |
Thread Index |
Old Index