diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-03-13 02:34:13 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-03-13 02:34:13 +0000 |
commit | 24f818742e35c6c9de0d16b4acd4fe3083676044 (patch) | |
tree | 323a340adbb53b36190dcbdbc1954d756591fb11 /gdb/source.c | |
parent | e15780428b484657ac30649fc48c1a48f13b4f34 (diff) | |
download | gdb-24f818742e35c6c9de0d16b4acd4fe3083676044.zip gdb-24f818742e35c6c9de0d16b4acd4fe3083676044.tar.gz gdb-24f818742e35c6c9de0d16b4acd4fe3083676044.tar.bz2 |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c index d1562ea..43df92f 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; |