From 9d3038ce88d3ce6ad964bb6e40a45234fe2a5f0e Mon Sep 17 00:00:00 2001 From: itohy Date: Sat, 10 Jul 2004 06:07:52 +0000 Subject: [PATCH] Silence gcc -W ("static void __inline__" -> "static __inline__ void"). --- sys/sys/ucred.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h index 5e0b0ddeac92..7e39abddf577 100644 --- a/sys/sys/ucred.h +++ b/sys/sys/ucred.h @@ -1,4 +1,4 @@ -/* $NetBSD: ucred.h,v 1.19 2004/05/02 12:36:55 pk Exp $ */ +/* $NetBSD: ucred.h,v 1.20 2004/07/10 06:07:52 itohy Exp $ */ /* * Copyright (c) 1989, 1993 @@ -63,7 +63,7 @@ struct ucred { #define FSCRED ((struct ucred *)-2) /* filesystem credential */ #ifdef _KERNEL -static void __inline__ crhold(struct ucred *cr) +static __inline__ void crhold(struct ucred *cr) { simple_lock(&cr->cr_lock); cr->cr_ref++;