summaryrefslogtreecommitdiff
path: root/src/helper/configuration.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-14 06:34:23 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-14 06:34:23 +0000
commitacce2bcccb67252c2ff1bafc14e5417cf2aaf0f0 (patch)
tree9d0381a61f346514c043d7e4251d2b4f0ab51876 /src/helper/configuration.h
parent696a20fea495b589305abe6cbd4cbfeb498a33a6 (diff)
downloadopenocd+libswd-acce2bcccb67252c2ff1bafc14e5417cf2aaf0f0.tar.gz
openocd+libswd-acce2bcccb67252c2ff1bafc14e5417cf2aaf0f0.tar.bz2
openocd+libswd-acce2bcccb67252c2ff1bafc14e5417cf2aaf0f0.tar.xz
openocd+libswd-acce2bcccb67252c2ff1bafc14e5417cf2aaf0f0.zip
Charles Hardin <ckhardin@gmail.com>
This evaluates the file at the correct level for the interpreter and the sets and all the globals are then done as expected. added a const to find_file function to avoid typecasting git-svn-id: svn://svn.berlios.de/openocd/trunk@806 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/configuration.h')
-rw-r--r--src/helper/configuration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/configuration.h b/src/helper/configuration.h
index d1f537d7..e29ef734 100644
--- a/src/helper/configuration.h
+++ b/src/helper/configuration.h
@@ -29,7 +29,7 @@ extern void add_config_command (const char *cfg);
extern void add_script_search_dir (const char *dir);
extern int configuration_output_handler(struct command_context_s *context, const char* line);
extern FILE *open_file_from_path (char *file, char *mode);
-extern char *find_file(char *name);
+extern char *find_file(const char *name);
int add_default_dirs(void);
#endif /* CONFIGURATION_H */