summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/jit.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 19:06:35 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 19:06:35 +0100
commit3938bad44ed2fea41328e4be2ae04a8e94540813 (patch)
tree33c18a47c789d20408a140914b4c58538723737e /tools/perf/util/jit.h
parentperf tools: Simplify die() mechanism (diff)
downloadlinux-3938bad44ed2fea41328e4be2ae04a8e94540813.tar.xz
linux-3938bad44ed2fea41328e4be2ae04a8e94540813.zip
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/jit.h')
-rw-r--r--tools/perf/util/jit.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/perf/util/jit.h b/tools/perf/util/jit.h
index a1e99da0715a..3f42ee4d2a0b 100644
--- a/tools/perf/util/jit.h
+++ b/tools/perf/util/jit.h
@@ -3,13 +3,9 @@
#include <data.h>
-extern int jit_process(struct perf_session *session,
- struct perf_data_file *output,
- struct machine *machine,
- char *filename,
- pid_t pid,
- u64 *nbytes);
-
-extern int jit_inject_record(const char *filename);
+int jit_process(struct perf_session *session, struct perf_data_file *output,
+ struct machine *machine, char *filename, pid_t pid, u64 *nbytes);
+
+int jit_inject_record(const char *filename);
#endif /* __JIT_H__ */