diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-03-23 14:06:35 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-03-23 14:06:35 -0400 |
commit | 3938bad44ed2fea41328e4be2ae04a8e94540813 (patch) | |
tree | 33c18a47c789d20408a140914b4c58538723737e /tools/perf/util/llvm-utils.h | |
parent | e476343860f8a4249106c4cae3d9a71fa1611fab (diff) |
perf tools: Remove needless 'extern' from function prototypes
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-w246stf7ponfamclsai6b9zo@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/llvm-utils.h')
-rw-r--r-- | tools/perf/util/llvm-utils.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/perf/util/llvm-utils.h b/tools/perf/util/llvm-utils.h index 5b3cf1c229e2..23b9a743fe72 100644 --- a/tools/perf/util/llvm-utils.h +++ b/tools/perf/util/llvm-utils.h | |||
@@ -39,11 +39,10 @@ struct llvm_param { | |||
39 | }; | 39 | }; |
40 | 40 | ||
41 | extern struct llvm_param llvm_param; | 41 | extern struct llvm_param llvm_param; |
42 | extern int perf_llvm_config(const char *var, const char *value); | 42 | int perf_llvm_config(const char *var, const char *value); |
43 | 43 | ||
44 | extern int llvm__compile_bpf(const char *path, void **p_obj_buf, | 44 | int llvm__compile_bpf(const char *path, void **p_obj_buf, size_t *p_obj_buf_sz); |
45 | size_t *p_obj_buf_sz); | ||
46 | 45 | ||
47 | /* This function is for test__llvm() use only */ | 46 | /* This function is for test__llvm() use only */ |
48 | extern int llvm__search_clang(void); | 47 | int llvm__search_clang(void); |
49 | #endif | 48 | #endif |