diff options
Diffstat (limited to 'gdb/utils.h')
-rw-r--r-- | gdb/utils.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gdb/utils.h b/gdb/utils.h index d69c81c..b37e8f7 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -1,5 +1,5 @@ /* I/O, string, cleanup, and other random utilities for GDB. - Copyright (C) 1986-2024 Free Software Foundation, Inc. + Copyright (C) 1986-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef UTILS_H -#define UTILS_H +#ifndef GDB_UTILS_H +#define GDB_UTILS_H #include <chrono> @@ -133,10 +133,7 @@ private: extern int gdb_filename_fnmatch (const char *pattern, const char *string, int flags); -extern void substitute_path_component (char **stringp, const char *from, - const char *to); - -std::string ldirname (const char *filename); +std::string gdb_ldirname (const char *filename); extern int count_path_elements (const char *path); @@ -486,4 +483,4 @@ private: std::vector<string_file> m_warnings; }; -#endif /* UTILS_H */ +#endif /* GDB_UTILS_H */ |