Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen Add a 'void' to unbreak this with -Wold-sty...
details: https://anonhg.NetBSD.org/src/rev/d2538d05baa2
branches: trunk
changeset: 773501:d2538d05baa2
user: riz <riz%NetBSD.org@localhost>
date: Sat Feb 04 02:00:07 2012 +0000
description:
Add a 'void' to unbreak this with -Wold-style-definition
diffstat:
sys/arch/xen/xen/xengnt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b993fd3e9c38 -r d2538d05baa2 sys/arch/xen/xen/xengnt.c
--- a/sys/arch/xen/xen/xengnt.c Fri Feb 03 23:39:59 2012 +0000
+++ b/sys/arch/xen/xen/xengnt.c Sat Feb 04 02:00:07 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xengnt.c,v 1.21 2011/12/09 03:58:12 cherry Exp $ */
+/* $NetBSD: xengnt.c,v 1.22 2012/02/04 02:00:07 riz Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xengnt.c,v 1.21 2011/12/09 03:58:12 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xengnt.c,v 1.22 2012/02/04 02:00:07 riz Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -129,7 +129,7 @@
* Suspend grant table state
*/
bool
-xengnt_suspend() {
+xengnt_suspend(void) {
int i;
Home |
Main Index |
Thread Index |
Old Index