diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-06-25 10:14:49 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-06-25 10:14:49 +0000 |
commit | f79f9fde7cbcfded3a72e2981d98a2a7d0a8c2a3 (patch) | |
tree | 1c98ea004ad645e0aa1f236696aa77ba7ca795c7 /sys/dev/pci/safe.c | |
parent | c705c3bb97c7c4d59e43156b9fdb45895037f09e (diff) |
Change safe_rng_read() from __inline to static __inline like
the original FreeBSD code for consistent behaviour between
c89/c99 compilers.
Diffstat (limited to 'sys/dev/pci/safe.c')
-rw-r--r-- | sys/dev/pci/safe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/safe.c b/sys/dev/pci/safe.c index 3a5bfd46ac1..afcaca04708 100644 --- a/sys/dev/pci/safe.c +++ b/sys/dev/pci/safe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: safe.c,v 1.24 2008/10/15 19:12:18 blambert Exp $ */ +/* $OpenBSD: safe.c,v 1.25 2009/06/25 10:14:48 jsg Exp $ */ /*- * Copyright (c) 2003 Sam Leffler, Errno Consulting @@ -109,7 +109,7 @@ void safe_reset_board(struct safe_softc *); void safe_init_board(struct safe_softc *); void safe_init_pciregs(struct safe_softc *); void safe_cleanchip(struct safe_softc *); -__inline u_int32_t safe_rng_read(struct safe_softc *); +static __inline u_int32_t safe_rng_read(struct safe_softc *); int safe_free_entry(struct safe_softc *, struct safe_ringentry *); @@ -1187,7 +1187,7 @@ safe_rng_init(struct safe_softc *sc) } while (++i < SAFE_RNG_MAXWAIT); } -__inline u_int32_t +static __inline u_int32_t safe_rng_read(struct safe_softc *sc) { int i; |