Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic drop 'external' inline here, to avoid C99 vs GNU ...



details:   https://anonhg.NetBSD.org/src/rev/bf8d61811bd1
branches:  trunk
changeset: 764555:bf8d61811bd1
user:      plunky <plunky%NetBSD.org@localhost>
date:      Wed Apr 27 07:47:33 2011 +0000

description:
drop 'external' inline here, to avoid C99 vs GNU differences

diffstat:

 sys/dev/ic/ad1848.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 350796501b62 -r bf8d61811bd1 sys/dev/ic/ad1848.c
--- a/sys/dev/ic/ad1848.c       Wed Apr 27 07:42:11 2011 +0000
+++ b/sys/dev/ic/ad1848.c       Wed Apr 27 07:47:33 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ad1848.c,v 1.29 2008/04/28 20:23:48 martin Exp $       */
+/*     $NetBSD: ad1848.c,v 1.30 2011/04/27 07:47:33 plunky Exp $       */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ad1848.c,v 1.29 2008/04/28 20:23:48 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ad1848.c,v 1.30 2011/04/27 07:47:33 plunky Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -216,7 +216,7 @@
 }
 
 
-inline int
+int
 ad_read(struct ad1848_softc *sc, int reg)
 {
        int x;
@@ -227,7 +227,7 @@
        return x;
 }
 
-inline void
+void
 ad_write(struct ad1848_softc *sc, int reg, int data)
 {
 
@@ -241,7 +241,7 @@
  * indirection through CS_XREG (I23).
  */
 
-inline int
+int
 ad_xread(struct ad1848_softc *sc, int reg)
 {
        int x;
@@ -253,7 +253,7 @@
        return x;
 }
 
-inline void
+void
 ad_xwrite(struct ad1848_softc *sc, int reg, int val)
 {
 



Home | Main Index | Thread Index | Old Index