diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-02-09 23:09:32 +0100 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-10 11:58:45 -0500 |
commit | 4543ae7ce1cb8b5ff27a59009e7991ea63791a71 (patch) | |
tree | 6b4ec60c4118bc4a9990f2052e7cd71a7ddbef09 /kernel/trace/trace_sysprof.c | |
parent | 966657883fdc3a2883a5e641ca4ec8f79ffb8ecd (diff) | |
download | blackbird-op-linux-4543ae7ce1cb8b5ff27a59009e7991ea63791a71.tar.gz blackbird-op-linux-4543ae7ce1cb8b5ff27a59009e7991ea63791a71.zip |
tracing: storage class should be before const qualifier
The C99 specification states in section 6.11.5:
The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_sysprof.c')
-rw-r--r-- | kernel/trace/trace_sysprof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_sysprof.c b/kernel/trace/trace_sysprof.c index 84ca9d81e74d..4e2de4de1d65 100644 --- a/kernel/trace/trace_sysprof.c +++ b/kernel/trace/trace_sysprof.c @@ -88,7 +88,7 @@ static void backtrace_address(void *data, unsigned long addr, int reliable) } } -const static struct stacktrace_ops backtrace_ops = { +static const struct stacktrace_ops backtrace_ops = { .warning = backtrace_warning, .warning_symbol = backtrace_warning_symbol, .stack = backtrace_stack, |