hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/tools/perf/util/dwarf-aux.h
....@@ -1,22 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _DWARF_AUX_H
23 #define _DWARF_AUX_H
34 /*
45 * dwarf-aux.h : libdw auxiliary interfaces
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, write to the Free Software
18
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
- *
206 */
217
228 #include <dwarf.h>
....@@ -24,6 +10,8 @@
2410 #include <elfutils/libdwfl.h>
2511 #include <elfutils/version.h>
2612
13
+struct strbuf;
14
+
2715 /* Find the realpath of the target file */
2816 const char *cu_find_realpath(Dwarf_Die *cu_die, const char *fname);
2917