Commit Graph

30 Commits

Author SHA1 Message Date
Richard Kenner
abc95ed36d Fix spelling errors.
From-SVN: r10289
1995-08-28 06:54:22 -04:00
Richard Kenner
1a10ad657d Update header.
From-SVN: r9960
1995-06-15 07:33:49 -04:00
Richard Kenner
940d9d638b Update FSF address.
From-SVN: r9959
1995-06-15 07:33:25 -04:00
Richard Kenner
3efba298c7 Use FATAL_EXIT_CODE instead of FAILURE_EXIT_CODE.
From-SVN: r9725
1995-05-16 18:03:31 -04:00
Richard Kenner
9faa82d8c0 Fix typos in comments.
From-SVN: r9712
1995-05-16 08:39:54 -04:00
Richard Kenner
097d85a82b Don't include <sys/stat.h> twice.
From-SVN: r9506
1995-04-27 11:42:46 -04:00
Per Bothner
ebc27362b3 fix-header.c (main): Fix loop over required_functions_list
* fix-header.c (main):  Fix loop over required_functions_list
(fatal):  Also print inc_filename.

From-SVN: r9364
1995-04-11 23:34:50 -07:00
Per Bothner
b3ca463cda Re-write fixproto/fix-header/etc to use cpplib.
From-SVN: r9316
1995-04-05 14:16:26 -07:00
Per Bothner
55e2b88efc Fix to previous check-in.
From-SVN: r7898
1994-08-11 15:18:53 -07:00
Per Bothner
b4e21e27a3 If NO_IMPLICIT_EXTERN_C is defined, add extern "C" { ... }.
From-SVN: r7894
1994-08-11 13:36:33 -07:00
Richard Kenner
1a19d593a0 (write_rbrac): Set up to use fixed headers if __USE_FIXED_HEADERS__ is
defined.

From-SVN: r7878
1994-08-08 19:50:27 -04:00
Richard Kenner
ccddffd588 (write_{l,r}brac): Specify return type of int.
From-SVN: r7826
1994-07-29 19:06:08 -04:00
Richard Kenner
1bc61c04f8 (xstrdup): Renamed from strdup.
(check_protection): Call xstrdup, not strdup.

From-SVN: r7457
1994-06-14 17:29:48 -04:00
Richard Kenner
55575a9d2b (read_scan_file): Remove decl of unused variable RPTR.
(write_rbrac): Remove decl of unused variable PARTIAL.
(main): Likewise.

From-SVN: r6882
1994-03-25 14:08:19 -05:00
Per Bothner
8fb0620c66 Make sstring buf extern (rather than "common").
From-SVN: r6844
1994-03-21 16:04:34 -08:00
Jim Wilson
af86171da7 (missing_extern_C_count): Ifdef out.
(write_lbrac, recognized_function, read_scan_file, write_rbrac):
Likewise.

From-SVN: r6269
1993-12-22 11:29:00 -08:00
Richard Stallman
2ee370da2a (write_rbrac): Make added declarations conditional
on __cplusplus and nothing else.

From-SVN: r6129
1993-11-21 10:12:08 +00:00
Richard Stallman
4bc38260fc (write_rbrac): Treat rewinddir like memmove.
From-SVN: r6121
1993-11-20 07:26:48 +00:00
Richard Stallman
5881bacc6e (write_rbrac): Handle v*printf like memmove.
From-SVN: r6076
1993-11-12 23:42:09 +00:00
Richard Stallman
10b8b0ba69 (fancy_abort): Defined.
(write_rbrac): When adding proto for memmove,
put it inside #ifndef memmove.

From-SVN: r6071
1993-11-11 15:50:52 +00:00
Richard Kenner
39eda06efe Delete duplicate definition of "buf".
Include hconfig.h.

From-SVN: r5911
1993-10-26 21:52:20 -04:00
Richard Stallman
e7f9bcdc2f Renamed from patch-header.c.
(progname): Change name.

From-SVN: r5869
1993-10-22 21:48:08 +00:00
Richard Stallman
b156894e31 Simplify and fix handling of errno.h.
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-21 01:07:39 +00:00
Richard Stallman
9bbd109176 (main): Delete output file before opening it.
Discard directory names from progname.

From-SVN: r5842
1993-10-20 22:28:08 +00:00
Richard Stallman
c2b6b9a1d9 (inf_size): Move decl inside main.
(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-20 21:33:01 +00:00
Per Bothner
49d3ca5c88 include <sys/types.h> before <sys/stat.h>.
From-SVN: r5772
1993-10-13 11:02:41 -07:00
Per Bothner
05227b51ac Re-write , to use scan_decls as a sub-routine.
From-SVN: r5763
1993-10-12 15:58:40 -07:00
Per Bothner
e9cd0b2518 Merge. See ChangeLog.
From-SVN: r5125
1993-08-09 18:59:37 -07:00
Per Bothner
ec0ed4f7ff patch-header.c (read_scan_file): Minor re-write to avoid obstack_copy0, 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-27 13:55:12 -07:00
Per Bothner
7936052fe6 Initial revision
From-SVN: r4986
1993-07-25 17:11:20 -07:00