diff options
author | 2016-03-23 15:06:35 -0300 | |
---|---|---|
committer | 2016-03-23 15:06:35 -0300 | |
commit | 3938bad44ed2fea41328e4be2ae04a8e94540813 (patch) | |
tree | 33c18a47c789d20408a140914b4c58538723737e /tools/perf/util/cloexec.h | |
parent | perf tools: Simplify die() mechanism (diff) | |
download | linux-3938bad44ed2fea41328e4be2ae04a8e94540813.tar.gz linux-3938bad44ed2fea41328e4be2ae04a8e94540813.tar.bz2 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/cloexec.h')
-rw-r--r-- | tools/perf/util/cloexec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/cloexec.h b/tools/perf/util/cloexec.h index 3bee6773ddb0..d0d465953d36 100644 --- a/tools/perf/util/cloexec.h +++ b/tools/perf/util/cloexec.h @@ -5,7 +5,7 @@ unsigned long perf_event_open_cloexec_flag(void); #ifdef __GLIBC_PREREQ #if !__GLIBC_PREREQ(2, 6) && !defined(__UCLIBC__) -extern int sched_getcpu(void) __THROW; +int sched_getcpu(void) __THROW; #endif #endif |