Use enum flags for flags passed to openp
[deliverable/binutils-gdb.git] / gdb / source.c
index 009bec5285d9bd1deb2d847226c4b74e6f5ba44b..eba06f6e6baa725c8af46a58f77b7dac00b0d2a7 100644 (file)
@@ -736,7 +736,7 @@ is_regular_file (const char *name, int *errno_ptr)
 /*  >>>> This should only allow files of certain types,
     >>>>  eg executable, non-directory.  */
 int
-openp (const char *path, int opts, const char *string,
+openp (const char *path, openp_flags opts, const char *string,
        int mode, char **filename_opened)
 {
   int fd;
This page took 0.026305 seconds and 4 git commands to generate.