diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-05 20:16:15 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-09 16:13:26 +0300 |
commit | e5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c (patch) | |
tree | 9620a795fa21bc14f3f1fcb311f8ddee98b9bff8 /tools/perf/util/get_current_dir_name.c | |
parent | 245aec7f7f4ca95b924f005d604bab9d838b5eb1 (diff) | |
download | linux-e5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c.tar.xz |
perf tools: Move get_current_dir_name() cond prototype out of util.h
And in a separate header, so that we erode util.h a bit more.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-xpzvuu9d0gei9jl9bkzgobln@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/get_current_dir_name.c')
-rw-r--r-- | tools/perf/util/get_current_dir_name.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/get_current_dir_name.c b/tools/perf/util/get_current_dir_name.c index 267aa609a582..01f32f26552d 100644 --- a/tools/perf/util/get_current_dir_name.c +++ b/tools/perf/util/get_current_dir_name.c @@ -1,8 +1,8 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> +// SPDX-License-Identifier: LGPL-2.1 +// Copyright (C) 2018, 2019 Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> // #ifndef HAVE_GET_CURRENT_DIR_NAME -#include "util.h" +#include "get_current_dir_name.h" #include <unistd.h> #include <stdlib.h> #include <stdlib.h> |