Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libarch/arm fix compilation



details:   https://anonhg.NetBSD.org/src/rev/11079ddb7f09
branches:  trunk
changeset: 350539:11079ddb7f09
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 18:18:20 2017 +0000

description:
fix compilation

diffstat:

 lib/libarch/arm/arm_drain_writebuf.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 09d69bb10079 -r 11079ddb7f09 lib/libarch/arm/arm_drain_writebuf.c
--- a/lib/libarch/arm/arm_drain_writebuf.c      Fri Jan 13 18:04:36 2017 +0000
+++ b/lib/libarch/arm/arm_drain_writebuf.c      Fri Jan 13 18:18:20 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm_drain_writebuf.c,v 1.1 2002/03/30 06:24:34 thorpej Exp $   */
+/*     $NetBSD: arm_drain_writebuf.c,v 1.2 2017/01/13 18:18:20 christos Exp $  */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -33,12 +33,13 @@
  */
 
 #include <sys/cdefs.h>
+#include <sys/null.h>
 #include <sys/types.h>
 
 #include <machine/sysarch.h>
 
 int
-arm_drain_writebuf()
+arm_drain_writebuf(void)
 {
-       return sysarch(ARM_DRAIN_WRITEBUF, (void *)0);
+       return sysarch(ARM_DRAIN_WRITEBUF, NULL);
 }



Home | Main Index | Thread Index | Old Index