Commit Graph

115 Commits

Author SHA1 Message Date
cgd
4bf7fe6145 const poisoning: __findenv()'s first arg should be const char * (lint) 1996-12-20 20:32:54 +00:00
cgd
54c7614104 don't confuse long and int; pointed out by lint 1996-12-20 20:32:02 +00:00
cgd
a13d8bf828 use __inline and __asm, rather than inline and asm. By default (without -g)
lint won't accept the latter two, but will accept the former two as valid.
As far as gcc's concerned, they're the same.
1996-12-19 07:56:32 +00:00
jtc
0fbafa5982 Added rand_r() 1996-11-19 02:56:35 +00:00
lukem
43d6d7cf35 fix the the typos 1996-11-12 01:04:24 +00:00
jtc
ab90fa0e5c POSIX.1 requires that stdio buffers be flushed on abort. 1996-10-24 20:45:55 +00:00
perry
78954ddcf6 Nuked machine specific conditionals for tahoe. 1996-10-16 17:56:37 +00:00
christos
b47990743d <machine/endian.h> -> <sys/types.h> 1996-10-13 00:05:33 +00:00
jtc
943f3d2f5c The argument to isspace() must be representable as an unsigned char.
This change casts the argument to an unsigned char so that this
function will work with strings with their 8th bit set.
1996-07-20 01:09:05 +00:00
jtc
2d903c854c Changing type of "c" to unsigned did not fix the problem --- a signed
char is sign extended before it is assigned to an unsigned int.  This
fix, which has been tested with a different testcase, adds casts to
signed chars which results in proper behavior.
1996-07-20 01:03:54 +00:00
jtc
83481cc8e8 Changing type of "c" to unsigned did not fix the problem --- a signed
char is sign extended before it is assigned to an unsigned int.  This
fix, which has been tested with a different testcase, adds explicit
casts to unsigned char before the value of a character is copied.
1996-07-20 01:00:55 +00:00
jtc
24de9e4a12 The argument to isfoo() must be representable as an unsigned char, so
type of "c" has been changed to unsigned.  This change allows these
functions will work with strings with their 8th bit set.
1996-07-11 01:47:38 +00:00
jtc
c34d1a35dd Fixed bad cross reference: waitpid(3) -> waitpid(2). 1996-02-16 22:30:46 +00:00
mark
1d95fe29ce Get the floating point byte and word orders correct for the arm32. 1996-02-16 21:19:29 +00:00
jtc
03edaa24b7 The C standard says (about realloc) that "If size is zero and ptr is
not a null pointer, the object it points to is freed."  Reported by
Peter Seebach in PR #1806.
1996-01-17 02:45:25 +00:00
thorpej
6dda330ef6 New-style RCS ids. 1995-12-28 08:51:55 +00:00
mycroft
9b62656910 Rearrange to avoid sign problems with GCC. 1995-12-21 03:56:06 +00:00
mycroft
e0c0c4749d Minor cleanup. 1995-12-20 23:14:48 +00:00
pk
768025b976 waitpid is in section 2 (from John Kohl; PR#1710). 1995-11-01 10:02:29 +00:00
jtc
b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
jtc
1840cfa21f pagesize(2) -> getpagesize(2) 1995-08-17 23:30:42 +00:00
jtc
0b2dbb02ca add explicit return type 1995-06-14 05:19:52 +00:00
jtc
6eaa1d60d8 define __atexit pointer 1995-06-14 05:17:53 +00:00
jtc
bebf039306 add extern qualifier to __atexit pointer declaration 1995-06-14 05:16:04 +00:00
jtc
9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
ragge
ae8e3c9f1a Changed abs.S to abs.c for vax. 1995-04-25 15:36:39 +00:00
jtc
92702b3bed removed unnecessary #include <stddef.h> 1995-03-23 19:42:42 +00:00
jtc
7681b92c66 Enable qabs(), a quad_t version of abs() and labs(). 1995-03-22 00:36:52 +00:00
jtc
918d73c578 LDIV -> QDIV 1995-03-21 23:46:00 +00:00
jtc
bec46bcced add cross references to qdiv(3) 1995-03-21 23:22:17 +00:00
jtc
bfd7fc20d9 New function qdiv. Like div and ldiv, but works with quad_t's. 1995-03-21 23:12:35 +00:00
jtc
5091f60d44 ldiv takes long arguments 1995-03-21 22:54:50 +00:00
jtc
3baa1f1967 Changed the multibyte character functions so they work with the native
single byte character set.
1995-03-05 07:41:15 +00:00
jtc
7cd5ae5858 remove unneeded "#include <stddef.h>" 1995-02-28 01:46:24 +00:00
jtc
88ba3f858c Changed <sys/signal.h> to <signal.h> 1995-02-28 01:13:50 +00:00
cgd
b42e80ba75 list the files needed on the alpha. 1995-02-10 17:46:48 +00:00
jtc
38163d03a8 #include <machine/endian.h>. 1994-12-23 22:50:19 +00:00
cgd
9903c64a33 (1) fix up for new compiler predefines
(2) clean up IEEE format defines, so that their names are accurate again.
1994-12-22 15:02:48 +00:00
cgd
ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
jtc
6a9043df2e Use "const" qualifier so that tens, tinytens, and bigtens arrays are stored
in the text segment.
1994-12-20 00:43:48 +00:00
dean
6cd6f202d5 Include code for pmax 1994-11-14 23:48:02 +00:00
cgd
d2b0e8d86d be a bit more careful with types. 1994-10-19 03:07:18 +00:00
cgd
ce7850d53d cast type 1994-10-19 03:06:51 +00:00
cgd
5eca8fd521 casting types. 1994-10-19 03:06:34 +00:00
mycroft
bccad89957 Swap the definition of {lrand,nrand} with {mrand,jrand} to reflect reality. 1994-09-17 01:01:53 +00:00
jtc
2bdfe1ce0c Updgraded to March 3, 1994 version of dtoa.c from netlib with our local
changes.
1994-07-22 05:08:04 +00:00
mycroft
3a7aa4b533 Add merge.c and mergesort.3. 1994-06-16 05:27:17 +00:00
mycroft
2f86deea8e Add RCS ids. 1994-06-16 05:26:34 +00:00
mycroft
2c1d50080b Import from 4.4-Lite. 1994-06-16 05:21:06 +00:00
mycroft
7006d9d304 Clean up deleted files. 1994-05-20 06:19:50 +00:00