summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/cgroup.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/cgroup.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/cgroup.h')
-rw-r--r--tools/perf/util/cgroup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/cgroup.h b/tools/perf/util/cgroup.h
index b4b8cb42fe5e..31f8dcdbd7ef 100644
--- a/tools/perf/util/cgroup.h
+++ b/tools/perf/util/cgroup.h
@@ -13,7 +13,7 @@ struct cgroup_sel {
extern int nr_cgroups; /* number of explicit cgroups defined */
-extern void close_cgroup(struct cgroup_sel *cgrp);
-extern int parse_cgroups(const struct option *opt, const char *str, int unset);
+void close_cgroup(struct cgroup_sel *cgrp);
+int parse_cgroups(const struct option *opt, const char *str, int unset);
#endif /* __CGROUP_H__ */