diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-09 00:34:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:55:52 -0500 |
commit | 4448aaf0faafff3f275d15937c28b6346760e028 (patch) | |
tree | d0477d4d0871c94a6eff7761d06b16a682e9ec53 /drivers/s390/net/fsm.h | |
parent | 0fbeb5a45dccd493c35a68a5548e6a9d9882a791 (diff) |
[PATCH] s390: "extern inline" -> "static inline"
"extern inline" -> "static inline"
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/net/fsm.h')
-rw-r--r-- | drivers/s390/net/fsm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/net/fsm.h b/drivers/s390/net/fsm.h index 1b8a7e7c34f3..5b98253be7aa 100644 --- a/drivers/s390/net/fsm.h +++ b/drivers/s390/net/fsm.h | |||
@@ -140,7 +140,7 @@ fsm_record_history(fsm_instance *fi, int state, int event); | |||
140 | * 1 if current state or event is out of range | 140 | * 1 if current state or event is out of range |
141 | * !0 if state and event in range, but no action defined. | 141 | * !0 if state and event in range, but no action defined. |
142 | */ | 142 | */ |
143 | extern __inline__ int | 143 | static inline int |
144 | fsm_event(fsm_instance *fi, int event, void *arg) | 144 | fsm_event(fsm_instance *fi, int event, void *arg) |
145 | { | 145 | { |
146 | fsm_function_t r; | 146 | fsm_function_t r; |
@@ -188,7 +188,7 @@ fsm_event(fsm_instance *fi, int event, void *arg) | |||
188 | * @param fi Pointer to FSM | 188 | * @param fi Pointer to FSM |
189 | * @param state The new state for this FSM. | 189 | * @param state The new state for this FSM. |
190 | */ | 190 | */ |
191 | extern __inline__ void | 191 | static inline void |
192 | fsm_newstate(fsm_instance *fi, int newstate) | 192 | fsm_newstate(fsm_instance *fi, int newstate) |
193 | { | 193 | { |
194 | atomic_set(&fi->state,newstate); | 194 | atomic_set(&fi->state,newstate); |
@@ -208,7 +208,7 @@ fsm_newstate(fsm_instance *fi, int newstate) | |||
208 | * | 208 | * |
209 | * @return The current state of the FSM. | 209 | * @return The current state of the FSM. |
210 | */ | 210 | */ |
211 | extern __inline__ int | 211 | static inline int |
212 | fsm_getstate(fsm_instance *fi) | 212 | fsm_getstate(fsm_instance *fi) |
213 | { | 213 | { |
214 | return atomic_read(&fi->state); | 214 | return atomic_read(&fi->state); |