mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 16:53:02 +00:00
maint: xfdopen, and scope reduction.
* src/files.h, src/files.c (xfdopen): New. * src/output.c (output_skeleton): Use it. Reduce the scope of argv.
This commit is contained in:
@@ -65,7 +65,8 @@ void compute_output_file_names (void);
|
||||
void output_file_names_free (void);
|
||||
void output_file_name_check (char **file_name);
|
||||
|
||||
FILE *xfopen (const char *name, const char *mode);
|
||||
FILE *xfopen (const char *name, char const *mode);
|
||||
void xfclose (FILE *ptr);
|
||||
FILE *xfdopen (int fd, char const *mode);
|
||||
|
||||
#endif /* !FILES_H_ */
|
||||
|
||||
Reference in New Issue
Block a user