tracing: Use modern function declaration
authorArnd Bergmann <arnd@arndb.de>
Mon, 23 Jan 2017 12:24:45 +0000 (13:24 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 15 Feb 2017 14:02:27 +0000 (09:02 -0500)
commiteb583cd484f9a76c3716c0539bd06340943eeff9
treee8c35b603ba02783ee14ec1bb0f7f2cddaa9db6c
parent3821fd35b58dba449bd894014fbf4e1c43c9e951
tracing: Use modern function declaration

We get a lot of harmless warnings about this header file at W=1 level
because of an unusual function declaration:

kernel/trace/trace.h:766:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]

This moves the inline statement where it normally belongs, avoiding the
warning.

Link: http://lkml.kernel.org/r/20170123122521.3389010-1-arnd@arndb.de
Fixes: 4046bf023b06 ("ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.h