summaryrefslogtreecommitdiff
path: root/src/helper/configuration.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 14:21:56 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-16 15:47:08 -0800
commit0a9daddc2e20d9ff5053a9faf3e1ec11fd600c73 (patch)
tree872864991864753eed8c103805bf1b4947ddfb18 /src/helper/configuration.c
parentccf59123b72b01149063d5864ef61077786c033e (diff)
downloadopenocd+libswd-0a9daddc2e20d9ff5053a9faf3e1ec11fd600c73.tar.gz
openocd+libswd-0a9daddc2e20d9ff5053a9faf3e1ec11fd600c73.tar.bz2
openocd+libswd-0a9daddc2e20d9ff5053a9faf3e1ec11fd600c73.tar.xz
openocd+libswd-0a9daddc2e20d9ff5053a9faf3e1ec11fd600c73.zip
improve constness of open_file_from_path
Diffstat (limited to 'src/helper/configuration.c')
-rw-r--r--src/helper/configuration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/configuration.c b/src/helper/configuration.c
index 1f7240d9..74bcc9b0 100644
--- a/src/helper/configuration.c
+++ b/src/helper/configuration.c
@@ -86,7 +86,7 @@ char *find_file(const char *file)
return NULL;
}
-FILE *open_file_from_path (char *file, char *mode)
+FILE *open_file_from_path(const char *file, const char *mode)
{
if (mode[0]!='r')
{