diff options
author | Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> | 2009-03-23 09:12:23 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-31 11:45:07 -0400 |
commit | f285901bb21355bb47106658ef14eeb6b8ed538f (patch) | |
tree | ae79a9aaa14bdd1eca12e5ac62a25c858c2af029 | |
parent | bdd6df6af98ce7e70702edfb5fd5dbbd8d1b0453 (diff) |
tracing: add missing 'extern' keywords to trace_output.h
Impact: cleanup
Many declarations within trace_output.h are missing the 'extern' keyword
in an inconsistent manner. This adds 'extern' where it should be.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | kernel/trace/trace_output.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/kernel/trace/trace_output.h b/kernel/trace/trace_output.h index 0ae20b83eec8..46fb9612d884 100644 --- a/kernel/trace/trace_output.h +++ b/kernel/trace/trace_output.h | |||
@@ -29,25 +29,26 @@ seq_print_ip_sym(struct trace_seq *s, unsigned long ip, | |||
29 | unsigned long sym_flags); | 29 | unsigned long sym_flags); |
30 | extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf, | 30 | extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf, |
31 | size_t cnt); | 31 | size_t cnt); |
32 | int trace_seq_puts(struct trace_seq *s, const char *str); | 32 | extern int trace_seq_puts(struct trace_seq *s, const char *str); |
33 | int trace_seq_putc(struct trace_seq *s, unsigned char c); | 33 | extern int trace_seq_putc(struct trace_seq *s, unsigned char c); |
34 | int trace_seq_putmem(struct trace_seq *s, void *mem, size_t len); | 34 | extern int trace_seq_putmem(struct trace_seq *s, void *mem, size_t len); |
35 | int trace_seq_putmem_hex(struct trace_seq *s, void *mem, size_t len); | 35 | extern int trace_seq_putmem_hex(struct trace_seq *s, void *mem, size_t len); |
36 | void *trace_seq_reserve(struct trace_seq *s, size_t len); | 36 | extern void *trace_seq_reserve(struct trace_seq *s, size_t len); |
37 | int trace_seq_path(struct trace_seq *s, struct path *path); | 37 | extern int trace_seq_path(struct trace_seq *s, struct path *path); |
38 | int seq_print_userip_objs(const struct userstack_entry *entry, | 38 | extern int seq_print_userip_objs(const struct userstack_entry *entry, |
39 | struct trace_seq *s, unsigned long sym_flags); | 39 | struct trace_seq *s, unsigned long sym_flags); |
40 | int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm, | 40 | extern int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm, |
41 | unsigned long ip, unsigned long sym_flags); | 41 | unsigned long ip, unsigned long sym_flags); |
42 | 42 | ||
43 | int trace_print_context(struct trace_iterator *iter); | 43 | extern int trace_print_context(struct trace_iterator *iter); |
44 | int trace_print_lat_context(struct trace_iterator *iter); | 44 | extern int trace_print_lat_context(struct trace_iterator *iter); |
45 | 45 | ||
46 | struct trace_event *ftrace_find_event(int type); | 46 | extern struct trace_event *ftrace_find_event(int type); |
47 | int register_ftrace_event(struct trace_event *event); | 47 | extern int register_ftrace_event(struct trace_event *event); |
48 | int unregister_ftrace_event(struct trace_event *event); | 48 | extern int unregister_ftrace_event(struct trace_event *event); |
49 | 49 | ||
50 | enum print_line_t trace_nop_print(struct trace_iterator *iter, int flags); | 50 | extern enum print_line_t trace_nop_print(struct trace_iterator *iter, |
51 | int flags); | ||
51 | 52 | ||
52 | #define MAX_MEMHEX_BYTES 8 | 53 | #define MAX_MEMHEX_BYTES 8 |
53 | #define HEX_CHARS (MAX_MEMHEX_BYTES*2 + 1) | 54 | #define HEX_CHARS (MAX_MEMHEX_BYTES*2 + 1) |