summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 15:06:35 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 15:06:35 -0300
commit3938bad44ed2fea41328e4be2ae04a8e94540813 (patch)
tree33c18a47c789d20408a140914b4c58538723737e /tools/perf/util/symbol.h
parente476343860f8a4249106c4cae3d9a71fa1611fab (diff)
downloadlinux-stable-3938bad44ed2fea41328e4be2ae04a8e94540813.tar.gz
linux-stable-3938bad44ed2fea41328e4be2ae04a8e94540813.tar.bz2
linux-stable-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/symbol.h')
-rw-r--r--tools/perf/util/symbol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index a937053a0ae0..c8b7544d9267 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -34,8 +34,8 @@
#endif
#ifdef HAVE_LIBELF_SUPPORT
-extern Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep,
- GElf_Shdr *shp, const char *name, size_t *idx);
+Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep,
+ GElf_Shdr *shp, const char *name, size_t *idx);
#endif
#ifndef DMGL_PARAMS