Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Fix build with -ansi.



details:   https://anonhg.NetBSD.org/src/rev/15f108cbb6c2
branches:  trunk
changeset: 791638:15f108cbb6c2
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Nov 27 12:24:56 2013 +0000

description:
Fix build with -ansi.

diffstat:

 sys/sys/queue.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 137c2b84609f -r 15f108cbb6c2 sys/sys/queue.h
--- a/sys/sys/queue.h   Wed Nov 27 04:24:15 2013 +0000
+++ b/sys/sys/queue.h   Wed Nov 27 12:24:56 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: queue.h,v 1.63 2013/11/27 04:24:15 mrg Exp $   */
+/*     $NetBSD: queue.h,v 1.64 2013/11/27 12:24:56 joerg Exp $ */
 
 /*
  * Copyright (c) 1991, 1993
@@ -654,8 +654,8 @@
  * this by changing the head/tail sentinal values, but see the note above
  * this one.
  */
-static inline const void * __launder_type(const void *);
-static inline const void *
+static __inline const void * __launder_type(const void *);
+static __inline const void *
 __launder_type(const void *__x)
 {
        __asm __volatile("" : "+r" (__x));



Home | Main Index | Thread Index | Old Index