Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/marvell Add "static".
details: https://anonhg.NetBSD.org/src/rev/66cb18131297
branches: trunk
changeset: 781494:66cb18131297
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Sep 10 13:36:40 2012 +0000
description:
Add "static".
diffstat:
sys/dev/marvell/gtidmac.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r 0505563d7bcd -r 66cb18131297 sys/dev/marvell/gtidmac.c
--- a/sys/dev/marvell/gtidmac.c Mon Sep 10 11:29:06 2012 +0000
+++ b/sys/dev/marvell/gtidmac.c Mon Sep 10 13:36:40 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gtidmac.c,v 1.8 2012/07/23 06:09:47 kiyohara Exp $ */
+/* $NetBSD: gtidmac.c,v 1.9 2012/09/10 13:36:40 msaitoh Exp $ */
/*
* Copyright (c) 2008, 2012 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.8 2012/07/23 06:09:47 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.9 2012/09/10 13:36:40 msaitoh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -155,9 +155,9 @@
static void gtidmac_dmover_run(struct dmover_backend *);
static void gtidmac_dmover_done(void *, int, bus_dmamap_t *, bus_dmamap_t *,
int);
-__inline int gtidmac_dmmap_load(struct gtidmac_softc *, bus_dmamap_t,
+static __inline int gtidmac_dmmap_load(struct gtidmac_softc *, bus_dmamap_t,
dmover_buffer_type, dmover_buffer *, int);
-__inline void gtidmac_dmmap_unload(struct gtidmac_softc *, bus_dmamap_t, int);
+static __inline void gtidmac_dmmap_unload(struct gtidmac_softc *, bus_dmamap_t, int);
static uint32_t gtidmac_finish(void *, int, int);
static uint32_t mvxore_finish(void *, int, int);
@@ -857,7 +857,7 @@
gtidmac_dmover_run(dmb);
}
-__inline int
+static __inline int
gtidmac_dmmap_load(struct gtidmac_softc *sc, bus_dmamap_t dmamap,
dmover_buffer_type dmbuf_type, dmover_buffer *dmbuf,
int read)
@@ -894,7 +894,7 @@
return error;
}
-__inline void
+static __inline void
gtidmac_dmmap_unload(struct gtidmac_softc *sc, bus_dmamap_t dmamap, int read)
{
Home |
Main Index |
Thread Index |
Old Index