aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
AgeCommit message (Collapse)AuthorFilesLines
1997-05-06reformat a little to match GNU coding standards.Mike Stump1-2/+2
From-SVN: r14024
1997-04-20Use symbolic codes for exit.Richard Kenner1-9/+9
From-SVN: r13938
1996-07-03formatting tweaksMike Stump1-45/+47
From-SVN: r12390
1996-06-07* fix-header.c (read_scan_file): Use CPP_FATAL_ERRORS.Per Bothner1-2/+6
From-SVN: r12210
1996-06-06fix-header.c (read_scan_file): Use cpp_fatal.Per Bothner1-8/+24
* fix-header.c (read_scan_file): Use cpp_fatal. Use renamed function names, and return protocols. * fix-header.c (check_macro_names): Fix struct parse_file->cpp_reader. From-SVN: r12204
1996-04-15fix-header.c: #include "gansidecl.h".Doug Evans1-5/+3
* fix-header.c: #include "gansidecl.h". (const): Delete. From-SVN: r11793
1995-12-27fix-header.c: Add EXIT_FAILURE and EXIT_SUCCESS to stdlib.h i missing.Per Bothner1-12/+78
* fix-header.c: Add EXIT_FAILURE and EXIT_SUCCESS to stdlib.h i missing. Re-write how errno is added to be done similarly (XOPEN_SYMBOL, XOPEN_EXTENDED_SYMBOL): New macros, to mark XPG4 functions. (std_include_table): Add a number of functions (mostly XPG4). From-SVN: r10888
1995-12-14fix-header.c: Support different kinds of functions (ANSI and Posix1).Per Bothner1-109/+177
* fix-header.c: Support different kinds of functions (ANSI and Posix1). Enable ANSI proptotypes if __STRICT_ANSI__. From-SVN: r10729
1995-08-28Fix spelling errors.Richard Kenner1-1/+1
From-SVN: r10289
1995-06-15Update header.Richard Kenner1-2/+1
From-SVN: r9960
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9959
1995-05-16Use FATAL_EXIT_CODE instead of FAILURE_EXIT_CODE.Richard Kenner1-2/+2
From-SVN: r9725
1995-05-16Fix typos in comments.Richard Kenner1-1/+1
From-SVN: r9712
1995-04-27Don't include <sys/stat.h> twice.Richard Kenner1-5/+3
From-SVN: r9506
1995-04-11fix-header.c (main): Fix loop over required_functions_listPer Bothner1-20/+11
* fix-header.c (main): Fix loop over required_functions_list (fatal): Also print inc_filename. From-SVN: r9364
1995-04-05Re-write fixproto/fix-header/etc to use cpplib.Per Bothner1-79/+418
From-SVN: r9316
1994-08-11Fix to previous check-in.Per Bothner1-2/+2
From-SVN: r7898
1994-08-11If NO_IMPLICIT_EXTERN_C is defined, add extern "C" { ... }.Per Bothner1-4/+14
From-SVN: r7894
1994-08-08(write_rbrac): Set up to use fixed headers if __USE_FIXED_HEADERS__ isRichard Kenner1-2/+3
defined. From-SVN: r7878
1994-07-29(write_{l,r}brac): Specify return type of int.Richard Kenner1-1/+2
From-SVN: r7826
1994-06-14(xstrdup): Renamed from strdup.Richard Kenner1-2/+2
(check_protection): Call xstrdup, not strdup. From-SVN: r7457
1994-03-25(read_scan_file): Remove decl of unused variable RPTR.Richard Kenner1-4/+1
(write_rbrac): Remove decl of unused variable PARTIAL. (main): Likewise. From-SVN: r6882
1994-03-21Make sstring buf extern (rather than "common").Per Bothner1-1/+2
From-SVN: r6844
1993-12-22(missing_extern_C_count): Ifdef out.Jim Wilson1-2/+19
(write_lbrac, recognized_function, read_scan_file, write_rbrac): Likewise. From-SVN: r6269
1993-11-21(write_rbrac): Make added declarations conditionalRichard Stallman1-2/+2
on __cplusplus and nothing else. From-SVN: r6129
1993-11-20(write_rbrac): Treat rewinddir like memmove.Richard Stallman1-1/+2
From-SVN: r6121
1993-11-12(write_rbrac): Handle v*printf like memmove.Richard Stallman1-1/+4
From-SVN: r6076
1993-11-11(fancy_abort): Defined.Richard Stallman1-2/+25
(write_rbrac): When adding proto for memmove, put it inside #ifndef memmove. From-SVN: r6071
1993-10-26Delete duplicate definition of "buf".Richard Kenner1-1/+1
Include hconfig.h. From-SVN: r5911
1993-10-22Renamed from patch-header.c.Richard Stallman1-3/+3
(progname): Change name. From-SVN: r5869
1993-10-21Simplify and fix handling of errno.h.Richard Stallman1-11/+11
Now it no longer thinks errno.h always needs fixing. (write_lbrac, write_rbrac): Only write extern "C" if that specifically is needed. From-SVN: r5848
1993-10-20(main): Delete output file before opening it.Richard Stallman1-1/+10
Discard directory names from progname. From-SVN: r5842
1993-10-20(inf_size): Move decl inside main.Richard Stallman1-43/+47
(strdup): Use xmalloc rathern than malloc. Don't use the return value of strcpy. (INF_UNGET): Take parameter; do nothing if EOF. (strcpy): Declaration deleted. From-SVN: r5834
1993-10-13include <sys/types.h> before <sys/stat.h>.Per Bothner1-1/+1
From-SVN: r5772
1993-10-12Re-write , to use scan_decls as a sub-routine.Per Bothner1-155/+279
From-SVN: r5763
1993-08-09Merge. See ChangeLog.Per Bothner1-17/+26
From-SVN: r5125
1993-07-27patch-header.c (read_scan_file): Minor re-write to avoid obstack_copy0, ↵Per Bothner1-4/+4
since that uses the non-portable bcopy(). * patch-header.c (read_scan_file): Minor re-write to avoid obstack_copy0, since that uses the non-portable bcopy(). From-SVN: r5007
1993-07-25Initial revisionPer Bothner1-0/+674
From-SVN: r4986