diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-03-23 19:06:35 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-03-23 19:06:35 +0100 |
commit | 3938bad44ed2fea41328e4be2ae04a8e94540813 (patch) | |
tree | 33c18a47c789d20408a140914b4c58538723737e /tools/perf/util/cgroup.h | |
parent | perf tools: Simplify die() mechanism (diff) | |
download | linux-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/cgroup.h')
-rw-r--r-- | tools/perf/util/cgroup.h | 4 |
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__ */ |