Commit Graph

198 Commits

Author SHA1 Message Date
Ian Lance Taylor
cfe8fed0ff Only include <stdio.h> and <stdlib.h> in <assert.h> for C++
From-SVN: r8873
1995-02-06 16:51:48 +00:00
Ian Lance Taylor
afa1dec9c4 Fix bool test to permit spaces before the semicolon
From-SVN: r8854
1995-02-02 20:49:40 +00:00
Jim Wilson
7374f95a9b (strings.h): Fix return type of strlen.
From-SVN: r8823
1995-01-25 15:17:02 -08:00
Ian Lance Taylor
a1eb0286ad Fix non-const atof parameter on NEWS-OS 4.2R
From-SVN: r8653
1994-12-14 16:42:18 +00:00
Richard Kenner
e12c22a658 Fixes for NextStep 3.2.
Fixes for NextStep 3.2.  Remove ``__const__'' from sin and cos
prototypes in ansi/math.h.  Remove keyword ``template'' from
bfd/libc.h.  Remove ``volatile'' from abort in bsd/libc.h and abort
and exit in ansi/stdlib.h.

From-SVN: r8434
1994-11-14 19:14:54 -05:00
Richard Kenner
1485e7c183 Make argument type const for popen and tempnam in stdio.h and for
strdup in string.h, for OSF/1 V3.0.

From-SVN: r8413
1994-11-10 18:37:50 -05:00
Ian Lance Taylor
7a0934e7eb Fix X11/Intrinsic.h on RISCiX; add files to REQUIRED as needed
From-SVN: r8271
1994-10-14 15:56:20 +00:00
Ian Lance Taylor
ce9429943b Comment out loop which handled symbolic links to files
From-SVN: r8155
1994-09-28 18:31:04 +00:00
Ian Lance Taylor
26dac81079 Tweaks for LynxOS 2.2.2
From-SVN: r8120
1994-09-22 15:38:17 +00:00
Ian Lance Taylor
bf8b268a4d Don't remove empty directories until after removing DONE files
From-SVN: r8113
1994-09-21 15:33:52 +00:00
Ian Lance Taylor
3221f17613 Handle a symlink to root/* from a subdirectory of a symlink to root/*
From-SVN: r8097
1994-09-20 16:22:36 +00:00
Ian Lance Taylor
17c9628904 Canonicalize ${INPUT} to avoid automounter problems.
From-SVN: r7945
1994-08-19 16:01:48 +00:00
Ian Lance Taylor
29421402b7 Various changes to avoid clobbering glibc header files
From-SVN: r7854
1994-08-03 15:13:59 +00:00
Ian Lance Taylor
98068ba2d7 Rework required loop to avoid crash on decstation
From-SVN: r7776
1994-07-19 00:54:49 +00:00
Ian Lance Taylor
bc02666840 Wrap <time.h> and <sys/time.h> to avoid multiple inclusion errors.
From-SVN: r7624
1994-06-30 20:08:45 +00:00
Ian Lance Taylor
4e373a5930 Fix sbrk return type in <unistd.h> on Alpha OSF/1 V2.0.
From-SVN: r7538
1994-06-23 17:48:38 +00:00
Jason Merrill
e5b3d86a43 include stdio.h and stdlib.h into assert.h as necessary
From-SVN: r7524
1994-06-18 21:51:42 +00:00
Ian Lance Taylor
d67342cd3d Correct math.h handling on Lynx again.
From-SVN: r7511
1994-06-17 19:06:33 +00:00
Ian Lance Taylor
787e63c8f3 Correct argument type for ffs in string.h on Alpha OSF/1 V2.0
From-SVN: r7504
1994-06-16 14:59:50 +00:00
Ian Lance Taylor
86bb0d5f7b Wrap assert.h in extern "C" { }
From-SVN: r7453
1994-06-14 20:01:08 +00:00
Ian Lance Taylor
e53076d690 Protect bool in curses.h
From-SVN: r7352
1994-05-26 22:37:59 +00:00
Ian Lance Taylor
7beec59e8a Don't pass $(srcdir) to fixincludes scripts; don't explicitly copy files
which are now copied by ${required} code.

From-SVN: r7348
1994-05-26 15:50:35 +00:00
Ian Lance Taylor
639010aff2 Make OSF/1 getopt.h fix work on AIX also
From-SVN: r7336
1994-05-19 19:09:56 +00:00
Jason Merrill
68f6ed7f20 Add forward declaration of struct exception to
SunOS 4 math.h.

From-SVN: r7331
1994-05-18 22:33:40 +00:00
Bill Cox
09130b7890 Various Lynx-related fixups. To math.h, string.h and curses.h.
From-SVN: r7286
1994-05-12 22:51:00 +00:00
Ian Lance Taylor
d62288093b Don't recursively search symlinks to `.'.
From-SVN: r7271
1994-05-11 16:12:15 +00:00
Jason Merrill
6c8ceeae0e fixincludes: Fix ptrdiff_t and wchar_t in system headers like we do size_t.
* fixincludes: Fix ptrdiff_t and wchar_t in system headers like we
        do size_t.

From-SVN: r6960
1994-04-04 21:21:02 +00:00
Jim Wilson
5560c9b3d7 Modify comment referring to gvarargs.h.
From-SVN: r6952
1994-03-31 21:58:23 -08:00
Ian Lance Taylor
d4c60bd6d6 Insert newlines for sed 'a' and 'i' commands.
From-SVN: r6790
1994-03-14 21:55:07 +00:00
Doug Evans
46eeda1717 fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h in machine/cpu.h on...
* fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h
in machine/cpu.h on Ultrix 4.3.

From-SVN: r6628
1994-02-26 18:07:52 +00:00
Ian Lance Taylor
984da0ffb0 Put double underscores around M32, m88k, pdp11, tower[_0-9]*, u370, u3b[0-9]*
From-SVN: r6609
1994-02-22 16:03:44 +00:00
Ian Lance Taylor
b7bb5c984d Permit upper case characters in typedef of size_t in <sys/types.h>.
From-SVN: r6591
1994-02-19 19:26:35 +00:00
Ian Lance Taylor
dd22b925ad Fix uses of new in Xm/Traversal.h.
From-SVN: r6573
1994-02-16 05:55:34 +00:00
Ian Lance Taylor
224b1df055 Use __SIZE_TYPE__ for size_t type, rather than running gcc to get it.
From-SVN: r6563
1994-02-15 22:03:40 +00:00
Ian Lance Taylor
266f3aacd5 Clean up some X11 header files for C++; problems found on RS/6000.
From-SVN: r6547
1994-02-13 22:08:06 +00:00
Jim Wilson
a6e9783c22 When edit size_t typedef, modify sed pattern to avoid matching typedef uses of size_t.
When edit size_t typedef, modify sed pattern to
avoid matching typedef uses of size_t.  Likewise when adding
#ifndef GCC_SIZE_T.

From-SVN: r6505
1994-02-08 16:10:31 -08:00
Ian Lance Taylor
bb7c21a564 Do not fix <syndev/ipi_error.h> to avoid problems with SunOS sed
From-SVN: r6339
1993-12-28 03:15:25 +00:00
Jim Wilson
a6642da8c0 backport: host_mips, mips, MIPSE[LB], R[34]000, SYSTYPE_*.
Merge in changes from fixinc.mips.  Fix identifiers
host_mips, mips, MIPSE[LB], R[34]000, SYSTYPE_*.  Fix size_t uses
in stddef.h, memory.h, unistd.h.  Fix /**/ in bsd43/bsd43_.h.

From-SVN: r6288
1993-12-23 15:50:50 -08:00
Richard Kenner
3b0ad9f9c4 (rpc/auth.h, rpc/xdr.h): Declare structures before using them in prototypes, for Irix 4.0.5.
(rpc/auth.h, rpc/xdr.h): Declare structures before using them in
prototypes, for Irix 4.0.5.
(rpc/rpc.h): Avoid a nested comment on Ultrix 4.3.

From-SVN: r6257
1993-12-21 21:09:32 -05:00
Ian Lance Taylor
9deb7b7ca4 Do not preserve _HIDDEN_VA_LIST in <stdio.h>
From-SVN: r6245
1993-12-16 16:36:22 +00:00
Richard Kenner
ff40873a3f (stdio.h): Fix typos (missing quote) in previous change.
From-SVN: r6183
1993-12-03 06:41:47 -05:00
Richard Kenner
0f20ebd10c Preserve _HIDDEN_VA_LIST when changing VA_LIST to DUMMY_VA_LIST.
Change __va_list to __gnuc_va_list.  For AIX 3.2.5.

From-SVN: r6177
1993-12-02 07:06:58 -05:00
Richard Stallman
e6093ed4f8 (math.h): When deleting inline sqrt and abs,
be flexible about arg name and function body.

From-SVN: r6126
1993-11-21 06:54:47 +00:00
Richard Stallman
e5c1a9d28f When compute DOTS, convert /./ to / to avoid
accidentally converting it to /../.

From-SVN: r6113
1993-11-19 20:19:29 +00:00
Richard Kenner
00b14c22f0 (math.h): Add missing quoting of *' when fixing prototype of sqr'.
From-SVN: r6111
1993-11-17 19:15:24 -05:00
Richard Stallman
8f8470e01f Copy files needed for other files at the very end.
From-SVN: r6067
1993-11-11 08:20:12 +00:00
Richard Stallman
f820ace744 (math.h): Delete inline definitions for sqr.
From-SVN: r6050
1993-11-10 06:29:05 +00:00
Richard Stallman
b1533c0515 (loop on $required): When a file is copied
because another file needs it, scan it for what files it needs.

From-SVN: r6045
1993-11-09 23:53:36 +00:00
Ian Lance Taylor
1f10df153b Don't fix /**/ in X11 files; unnecessary
From-SVN: r5975
1993-11-02 19:33:52 +00:00
Richard Stallman
e50ea3d024 (sys/stat.h) Fix fchmod prototype, first arg is int, not char * [AIX 3.2.4].
(rpc/svc.h): Avoid nested comments [Ultrix 4.3].
(stdio.h, stdlib.h): Fixed getopt prototypes to match POSIX.2
[DEC Alpha OSF/1 1.3].

Fix <sys/limits.h> like <limits.h>.

From-SVN: r5974
1993-11-02 19:26:16 +00:00
Richard Stallman
8bfed52805 Unquote 'f' in #define _IO.
Unquote 'f' in #define _IO.  Fix elf.h like
elf_abi.h.  For Irix 5.

From-SVN: r5970
1993-11-02 04:15:40 +00:00
Ian Lance Taylor
86e33dc9d2 Don't remove /**/ from X11/xmd.h.
From-SVN: r5964
1993-11-01 20:19:12 +00:00
Richard Stallman
08432663f0 (bsd/sys/wait.h): Undo previous change.
From-SVN: r5919
1993-10-27 18:15:53 +00:00
Richard Stallman
ad96180a11 Fix NeXT <sys/wait.h> problem in <bsd/sys/wait.h>
as well, since that is where the file is in NeXTStep 3.0.

From-SVN: r5896
1993-10-26 17:03:37 +00:00
Richard Stallman
1daf70295c Fix bad S_IS* macros in <sys/stat.h> on m88k-sysv3.
From-SVN: r5884
1993-10-25 21:05:29 +00:00
Richard Stallman
195714793d Remove nested brackets in change of Oct 21.
Fix token pasting operator in ARM/RISCiX include files.

From-SVN: r5881
1993-10-25 17:57:20 +00:00
Ian Lance Taylor
87394941cc Avoid #define of __wchar_t on ARM/RISCiX <stdlib.h>
From-SVN: r5859
1993-10-21 15:13:39 +00:00
Richard Stallman
621b377116 (required): Accept a space instead of a tab
between #define and CTRL (or _CTRL).

From-SVN: r5858
1993-10-21 08:36:14 +00:00
Richard Kenner
f90ac35b89 Remove erroneous parens from Alpha OSF/1 <sym.h>.
From-SVN: r5786
1993-10-13 21:47:52 -04:00
Richard Stallman
40f1c86cca If a file is referenced with double quotes from
a fixed file, make sure it is copied into the fixed include directory.

Remove DPS/XDPSlib.h special-case code.

From-SVN: r5753
1993-10-12 19:51:26 +00:00
Richard Kenner
dca8246585 Quote braces on `find' looking for DONE files.
From-SVN: r5749
1993-10-12 14:02:38 -04:00
Ian Lance Taylor
d01b0b7c4e Fix typo
From-SVN: r5738
1993-10-11 19:36:17 +00:00
Ian Lance Taylor
10711bdd05 Fix typo
From-SVN: r5737
1993-10-11 19:20:40 +00:00
Richard Stallman
e03bb07275 (sys/spinlock.h): Don't copy it if it doesn't exist.
(DPS/XDPSlib.h): Change "XDPS.h" to <DPS/XDPS.h>, for AIX.

From-SVN: r5701
1993-10-10 02:50:18 +00:00
Richard Stallman
0ef87f3907 When fixing _IO's definition, handle t as arg name.
From-SVN: r5700
1993-10-10 02:46:12 +00:00
Doug Evans
94e21bd7ba fixincludes (sys/spinlock.h): change references of "../machine/*.h" to <machine/*.h>
* fixincludes (sys/spinlock.h): change references of
"../machine/*.h" to <machine/*.h>

From-SVN: r5531
1993-09-29 21:25:02 +00:00
Jim Wilson
3b8b3c98b0 ({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h,
{sun4c,sun4m}/debug/asm_linkage.h: Replace /**/ with ##.

From-SVN: r5514
1993-09-28 15:54:25 -07:00
Jim Wilson
303b6ca3e8 (math.h): Put #ifndef around HUGE_VAL define.
From-SVN: r5509
1993-09-28 15:41:21 -07:00
Jim Wilson
0ff7639849 (sbusdev/audiovar.h): Fix wrongly edited // comments
nested within /* */ comments.

From-SVN: r5289
1993-09-08 12:10:46 -07:00
Ian Lance Taylor
cc08b87dab Get size_t typedef using gcc, not cc
From-SVN: r5133
1993-08-11 13:22:45 +00:00
Per Bothner
255fccf375 Fix some AIX and NeXT problems.
From-SVN: r4982
1993-07-24 15:03:22 -07:00
Jim Wilson
1f1ff018a2 (sys/types.h sys/stdtypes.h): Delete newline before do.
(machine/cpu.h): Delete space in `2>& 1'.

From-SVN: r4953
1993-07-21 14:04:54 -07:00
Richard Stallman
a3f6caa73f (stdlib.h): Check carefully for definition of size_t.
From-SVN: r4927
1993-07-15 17:05:38 +00:00
Richard Stallman
ec4738c0ca Don't discard comment end characters on lines that look like "#endif */".
Don't discard comment end characters on lines that
look like "#endif */".  Fixes Esix 4.0.4 problem.

From-SVN: r4920
1993-07-14 23:23:58 +00:00
Richard Stallman
c87e58bb18 (file): Fix size_t definition in stdlib.h as in types.h.
Also a conditional to prevent repeated definition.

From-SVN: r4919
1993-07-14 23:15:19 +00:00
Richard Stallman
0fa2faf052 Check for symlinks being available in /tmp.
From-SVN: r4899
1993-07-10 19:06:09 +00:00
Paul Eggert
884caf18bb Don't create absolute symbolic links;
make them relative instead.

From-SVN: r4815
1993-07-01 19:06:50 +00:00
Paul Eggert
458e8901e3 Remove special case for IRIX 4.0.1 that was superseded
by a more general fix to fixincludes.

From-SVN: r4814
1993-07-01 18:15:17 +00:00
Paul Eggert
20c74d5ea3 Remove everything after #endif, instead of trying to turn it into comments, which loses inside comments.
Remove everything after #endif, instead of trying
to turn it into comments, which loses inside comments.
Remove #endif workarounds for Ultrix 4.[12]
and SunOS 4.1, which are no longer needed because of this bug fix.

From-SVN: r4812
1993-07-01 07:46:15 +00:00
Richard Stallman
daa4489f7b (stdtypes.h): Verify that size_t etc. follow whitespace.
From-SVN: r4801
1993-06-30 17:13:09 +00:00
Richard Stallman
75d9865511 (file): When changing VA_LIST to DUMMY_VA_LIST, preserve _NEED___VA_LIST.
From-SVN: r4791
1993-06-28 18:58:14 +00:00
Richard Stallman
315198ab9d (stdio.h math.h ctype.h sys/{limits.h,fcntl.h,dirent.h}):
Fix STDC/POSIX and other things for Interactive	Unix 2.2 or later.

From-SVN: r4678
1993-06-14 21:48:40 +00:00
Richard Stallman
591d2ce85d (signal.h): FIx typo in last change.
(signal.h): Don't mung #endif if nonwhite stuff precedes.

From-SVN: r4619
1993-06-01 08:14:22 +00:00
Richard Stallman
d7c768e7bd (Fixing CTRL): Reject CTRL or _CTRL following digit.
From-SVN: r4519
1993-05-20 19:06:46 +00:00
Richard Stallman
78c5c64609 Use $file.
Use $file. rather than $file.sed
when $file is or might be more than 10 characters long.

From-SVN: r4497
1993-05-18 19:32:56 +00:00
Richard Stallman
6a25991dfb (memory.h): Don't try to read it if it doesn't exist.
From-SVN: r4420
1993-05-11 04:40:17 +00:00
Richard Stallman
5ec88efd82 When finding SIZE_TYPE, cd to ${LIB} to run cc.
From-SVN: r4400
1993-05-09 21:55:04 +00:00
Ian Lance Taylor
7313c84b67 More fixes for IRIX 4.0.1
From-SVN: r4372
1993-05-06 19:59:56 +00:00
Ian Lance Taylor
2a46424aae Patches for IRIX 4.0.1
From-SVN: r4337
1993-05-05 18:12:35 +00:00
Ian Lance Taylor
d096c37276 Fix #endif comments
From-SVN: r4286
1993-04-30 16:00:15 +00:00
Ian Lance Taylor
c49c480390 Don't put #ifndefs in limits.h if they are already there
From-SVN: r4053
1993-04-09 19:12:20 +00:00
Richard Stallman
8caf703ce2 Move comments about big sed command outside the command itself.
From-SVN: r3900
1993-03-28 07:46:33 +00:00
Richard Stallman
eb13d32345 (memory.h): Use proper ANSI syntax in `#endif __memory_h__'.
From-SVN: r3868
1993-03-24 21:10:11 +00:00
Ian Lance Taylor
25e51a6947 Fix #endif foo; don't alter sh options; clean up all DONE files
From-SVN: r3832
1993-03-22 23:30:13 +00:00
Richard Stallman
db27aeecc2 Delete ${LIB}/DONE just before exit.
From-SVN: r3699
1993-03-11 04:53:06 +00:00
Richard Stallman
8befb9549a (SRCDIR): Make absolute from ORIGDIR.
(sys/types.h): Quote variables that might expand with spaces.
Strip quotes from expansion of SIZE_TYPE.

Also fix incorrect installation of previous patch.

From-SVN: r3503
1993-02-21 00:14:46 +00:00
John Hassey
9f8b265dd5 Change "va_list)" to "__gnuc_va_list)".
From-SVN: r3500
1993-02-20 15:39:27 +00:00
Doug Evans
631e21eb7b * Save temp file in ${LIB}. Use -I${ORIGDIR} when compiling types.c.
From-SVN: r3499
1993-02-20 08:17:28 +00:00
Richard Stallman
cd3383a393 (sys/types.h): Replace definition of size_t based on SIZE_TYPE.
From-SVN: r3481
1993-02-17 23:21:42 +00:00
Richard Kenner
a27901721d Don't assume that macros defining IO and CTRL ioctl codes always use
`x'; some use `c' or `g'.

From-SVN: r3462
1993-02-11 13:49:37 -05:00