mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
245aec7f7f
commit
e5653eb82d
4 changed files with 12 additions and 7 deletions
8
tools/perf/util/get_current_dir_name.h
Normal file
8
tools/perf/util/get_current_dir_name.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
// SPDX-License-Identifier: LGPL-2.1
|
||||
// Copyright (C) 2018, 2019 Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||
//
|
||||
#ifndef __PERF_GET_CURRENT_DIR_NAME_H
|
||||
#ifndef HAVE_GET_CURRENT_DIR_NAME
|
||||
char *get_current_dir_name(void);
|
||||
#endif // HAVE_GET_CURRENT_DIR_NAME
|
||||
#endif // __PERF_GET_CURRENT_DIR_NAME_H
|
Loading…
Add table
Add a link
Reference in a new issue