tracing: storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Mon, 9 Feb 2009 22:09:32 +0000 (23:09 +0100)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 10 Feb 2009 16:58:45 +0000 (11:58 -0500)
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>
kernel/trace/trace_sysprof.c

index 84ca9d81e74dfd18136c3b5d99c910c50666e43a..4e2de4de1d6530a5396d628aed8f84207b0a85d1 100644 (file)
@@ -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,