summaryrefslogtreecommitdiff
path: root/gcc/file-find.h
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-19 21:01:06 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-19 21:01:06 +0000
commit0dc1ebca5751c076a9ea07a7e6d6e8428bdbe73b (patch)
tree8f4628b585dfd1bbf58b2333cd36b27d3654d463 /gcc/file-find.h
parentb6c75192521f22b4adc19304469c351cd2620012 (diff)
downloadgcc-0dc1ebca5751c076a9ea07a7e6d6e8428bdbe73b.tar.gz
2013-06-19 Matthias Klose <doko@ubuntu.com>
PR driver/57651 * file-find.h (find_a_file): Add a mode parameter. * file-find.c (find_a_file): Likewise. * gcc-ar.c (main): Call find_a_file with R_OK for the plugin, with X_OK for the executables. * collect2.c (main): Call find_a_file with X_OK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200219 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/file-find.h')
-rw-r--r--gcc/file-find.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/file-find.h b/gcc/file-find.h
index 0cbf8d19d09..43a2d3f28ec 100644
--- a/gcc/file-find.h
+++ b/gcc/file-find.h
@@ -38,7 +38,7 @@ struct path_prefix
};
extern void find_file_set_debug (bool);
-extern char *find_a_file (struct path_prefix *, const char *);
+extern char *find_a_file (struct path_prefix *, const char *, int);
extern void add_prefix (struct path_prefix *, const char *);
extern void prefix_from_env (const char *, struct path_prefix *);
extern void prefix_from_string (const char *, struct path_prefix *);