From 24f818742e35c6c9de0d16b4acd4fe3083676044 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 13 Mar 2009 02:34:13 +0000 Subject: * source.c (source_full_path_of): Constify parameter filename. * defs.h (source_full_path_of): Update declaration accordingly. --- gdb/source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/source.c') 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; -- cgit v1.1