Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Drop extern inline for fd_getfile(). Apparently, G...



details:   https://anonhg.NetBSD.org/src/rev/df93eb9fae2a
branches:  trunk
changeset: 764467:df93eb9fae2a
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Apr 24 20:30:38 2011 +0000

description:
Drop extern inline for fd_getfile().  Apparently, GCC already ignores it.

diffstat:

 sys/kern/kern_descrip.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2b42b56c16cf -r df93eb9fae2a sys/kern/kern_descrip.c
--- a/sys/kern/kern_descrip.c   Sun Apr 24 20:17:53 2011 +0000
+++ b/sys/kern/kern_descrip.c   Sun Apr 24 20:30:38 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_descrip.c,v 1.213 2011/04/23 18:57:27 rmind Exp $ */
+/*     $NetBSD: kern_descrip.c,v 1.214 2011/04/24 20:30:38 rmind Exp $ */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_descrip.c,v 1.213 2011/04/23 18:57:27 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_descrip.c,v 1.214 2011/04/24 20:30:38 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -350,7 +350,7 @@
  * Look up the file structure corresponding to a file descriptor
  * and return the file, holding a reference on the descriptor.
  */
-inline file_t *
+file_t *
 fd_getfile(unsigned fd)
 {
        filedesc_t *fdp;



Home | Main Index | Thread Index | Old Index