]> gcc.gnu.org Git - gcc.git/commit
protoize.c: Conditionally include unistd.h.
authorMumit Khan <khan@xraylith.wisc.edu>
Fri, 7 Jan 2000 00:42:12 +0000 (00:42 +0000)
committerMumit Khan <khan@gcc.gnu.org>
Fri, 7 Jan 2000 00:42:12 +0000 (00:42 +0000)
commitee77eda571f5a82d2836c83c5a62914669397b73
treef5462c54de7c35870a4529f9d01b393ac00924b3
parentd5b6516da59be3d5c0481f7982a2f7deb0e398bb
protoize.c: Conditionally include unistd.h.

2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>

* protoize.c: Conditionally include unistd.h.
(IS_SAME_PATH_CHAR): New macro.
(IS_SAME_PATH): New macro.
(CPLUS_FILE_SUFFIX): New macro.
(cplus_suffix): New static variable.
(is_abspath): New static function.
(in_system_include_dir): Handle DOS style pathnames.
(file_could_be_converted): Likewise.
(file_normally_convertible): Likewise.
(directory_specified_p): Likewise.
(file_excluded_p): Likewise.
(abspath): Likewise.
(shortpath): Likewise.
(referenced_file_is_newer): Likewise.
(save_def_or_dec): Likewise.
(do_processing): Likewise.
(main): Likewise.
(edit_file): Likewise. Use rename instead of link.
(rename_c_file): Likewise. Don't rename syscalls file.
(munge_compile_params): Define null device for DOS based systems.
(process_aux_info_file): Use binary mode if appliable.
(edit_file): Likewise.
* invoke.texi (Running Protoize): Document C++ suffixes used.

From-SVN: r31265
gcc/ChangeLog
gcc/invoke.texi
gcc/protoize.c
This page took 0.074038 seconds and 5 git commands to generate.