Module Name: src Committed By: joerg Date: Wed Nov 27 12:24:56 UTC 2013
Modified Files: src/sys/sys: queue.h Log Message: Fix build with -ansi. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/sys/queue.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/queue.h diff -u src/sys/sys/queue.h:1.63 src/sys/sys/queue.h:1.64 --- src/sys/sys/queue.h:1.63 Wed Nov 27 04:24:15 2013 +++ src/sys/sys/queue.h Wed Nov 27 12:24:56 2013 @@ -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 @@ struct { \ * 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));