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 /include/asm-s390/debug.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 'include/asm-s390/debug.h')
-rw-r--r-- | include/asm-s390/debug.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-s390/debug.h b/include/asm-s390/debug.h index 7127030ae162..23450ed4b571 100644 --- a/include/asm-s390/debug.h +++ b/include/asm-s390/debug.h | |||
@@ -129,7 +129,7 @@ void debug_set_level(debug_info_t* id, int new_level); | |||
129 | 129 | ||
130 | void debug_stop_all(void); | 130 | void debug_stop_all(void); |
131 | 131 | ||
132 | extern inline debug_entry_t* | 132 | static inline debug_entry_t* |
133 | debug_event(debug_info_t* id, int level, void* data, int length) | 133 | debug_event(debug_info_t* id, int level, void* data, int length) |
134 | { | 134 | { |
135 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) | 135 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) |
@@ -137,7 +137,7 @@ debug_event(debug_info_t* id, int level, void* data, int length) | |||
137 | return debug_event_common(id,level,data,length); | 137 | return debug_event_common(id,level,data,length); |
138 | } | 138 | } |
139 | 139 | ||
140 | extern inline debug_entry_t* | 140 | static inline debug_entry_t* |
141 | debug_int_event(debug_info_t* id, int level, unsigned int tag) | 141 | debug_int_event(debug_info_t* id, int level, unsigned int tag) |
142 | { | 142 | { |
143 | unsigned int t=tag; | 143 | unsigned int t=tag; |
@@ -146,7 +146,7 @@ debug_int_event(debug_info_t* id, int level, unsigned int tag) | |||
146 | return debug_event_common(id,level,&t,sizeof(unsigned int)); | 146 | return debug_event_common(id,level,&t,sizeof(unsigned int)); |
147 | } | 147 | } |
148 | 148 | ||
149 | extern inline debug_entry_t * | 149 | static inline debug_entry_t * |
150 | debug_long_event (debug_info_t* id, int level, unsigned long tag) | 150 | debug_long_event (debug_info_t* id, int level, unsigned long tag) |
151 | { | 151 | { |
152 | unsigned long t=tag; | 152 | unsigned long t=tag; |
@@ -155,7 +155,7 @@ debug_long_event (debug_info_t* id, int level, unsigned long tag) | |||
155 | return debug_event_common(id,level,&t,sizeof(unsigned long)); | 155 | return debug_event_common(id,level,&t,sizeof(unsigned long)); |
156 | } | 156 | } |
157 | 157 | ||
158 | extern inline debug_entry_t* | 158 | static inline debug_entry_t* |
159 | debug_text_event(debug_info_t* id, int level, const char* txt) | 159 | debug_text_event(debug_info_t* id, int level, const char* txt) |
160 | { | 160 | { |
161 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) | 161 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) |
@@ -168,7 +168,7 @@ debug_sprintf_event(debug_info_t* id,int level,char *string,...) | |||
168 | __attribute__ ((format(printf, 3, 4))); | 168 | __attribute__ ((format(printf, 3, 4))); |
169 | 169 | ||
170 | 170 | ||
171 | extern inline debug_entry_t* | 171 | static inline debug_entry_t* |
172 | debug_exception(debug_info_t* id, int level, void* data, int length) | 172 | debug_exception(debug_info_t* id, int level, void* data, int length) |
173 | { | 173 | { |
174 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) | 174 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) |
@@ -176,7 +176,7 @@ debug_exception(debug_info_t* id, int level, void* data, int length) | |||
176 | return debug_exception_common(id,level,data,length); | 176 | return debug_exception_common(id,level,data,length); |
177 | } | 177 | } |
178 | 178 | ||
179 | extern inline debug_entry_t* | 179 | static inline debug_entry_t* |
180 | debug_int_exception(debug_info_t* id, int level, unsigned int tag) | 180 | debug_int_exception(debug_info_t* id, int level, unsigned int tag) |
181 | { | 181 | { |
182 | unsigned int t=tag; | 182 | unsigned int t=tag; |
@@ -185,7 +185,7 @@ debug_int_exception(debug_info_t* id, int level, unsigned int tag) | |||
185 | return debug_exception_common(id,level,&t,sizeof(unsigned int)); | 185 | return debug_exception_common(id,level,&t,sizeof(unsigned int)); |
186 | } | 186 | } |
187 | 187 | ||
188 | extern inline debug_entry_t * | 188 | static inline debug_entry_t * |
189 | debug_long_exception (debug_info_t* id, int level, unsigned long tag) | 189 | debug_long_exception (debug_info_t* id, int level, unsigned long tag) |
190 | { | 190 | { |
191 | unsigned long t=tag; | 191 | unsigned long t=tag; |
@@ -194,7 +194,7 @@ debug_long_exception (debug_info_t* id, int level, unsigned long tag) | |||
194 | return debug_exception_common(id,level,&t,sizeof(unsigned long)); | 194 | return debug_exception_common(id,level,&t,sizeof(unsigned long)); |
195 | } | 195 | } |
196 | 196 | ||
197 | extern inline debug_entry_t* | 197 | static inline debug_entry_t* |
198 | debug_text_exception(debug_info_t* id, int level, const char* txt) | 198 | debug_text_exception(debug_info_t* id, int level, const char* txt) |
199 | { | 199 | { |
200 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) | 200 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) |