summaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-03-13 02:34:13 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-03-13 02:34:13 +0000
commit084662c8c30b46798cbd6f6f72715b721f6f453f (patch)
treee5e34eb4040261a6fd02858707a0a2e59c56f266 /gdb/source.c
parentc7c22f6962e854cff5e36fcb28380456d3f5d838 (diff)
downloadgdb-084662c8c30b46798cbd6f6f72715b721f6f453f.tar.gz
* source.c (source_full_path_of): Constify parameter filename.
* defs.h (source_full_path_of): Update declaration accordingly.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c
index d1562ea1c0e..43df92ff83b 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -822,7 +822,7 @@ done:
Else, this functions returns 0, and FULL_PATHNAME is set to NULL. */
int
-source_full_path_of (char *filename, char **full_pathname)
+source_full_path_of (const char *filename, char **full_pathname)
{
int fd;