summaryrefslogtreecommitdiff
path: root/tools/perf/util/cloexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/cloexec.h')
-rw-r--r--tools/perf/util/cloexec.h2
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