Commit Graph

469 Commits

Author SHA1 Message Date
wtc
e8f3cf3f95 In PR_GetSpecialFD, cast the PRSpecialFD variable 'osfd' to int
because some compilers make the enum PRSpecialFD an unsigned int
type and complain that 'osfd' is always >= PR_StandardInput, which
has the value 0.
1998-04-13 22:25:13 +00:00
wtc
1a658dc679 Added function declarations to eliminate compiler warnings. 1998-04-13 22:22:43 +00:00
wtc
15e1a7fd39 Added declaration of _MD_YIELD. 1998-04-13 22:21:00 +00:00
wtc
72d6375ce2 Fixed compiler warnings, mostly by adding function declarations. 1998-04-13 22:19:51 +00:00
wtc
428ceeffc5 Fixed compiler warnings, mostly undeclared functions. We acknoweldge
the help of Nathan Torkington <gnat@frii.com>.
1998-04-13 22:04:19 +00:00
wtc
e2d8a68f59 Fixed printf format mismatches. Fixed are provided by Nathan Torkington
<gnat@frii.com>.
1998-04-13 22:02:11 +00:00
wtc
63c20c82b4 Fixed compiler warnings, mostly in printf format mismatches. Most of
the fixes are supplied by Nathan Torkington <gnat@frii.com>.
1998-04-13 22:00:47 +00:00
wtc
2b38842e8d Removed the -Wno-format compiler switch. We do want to get printf
format mismatch warnings.
1998-04-13 21:44:55 +00:00
wtc
6068e6d056 Do not build pr/tests by default. This shortens the default build
time.  Also, use 'rm -r -f' instead of 'rm -rf' because the 'rm'
command of tcsh.exe on Win32 does not understand clustered command
line options.
1998-04-13 21:40:18 +00:00
wtc
7d61cbfe99 Declare _MD_EarlyInit() to eliminate 'undeclared function' compiler warning.
Contributed by Nat <gnat@frii.com>.
1998-04-09 19:50:19 +00:00
wtc
6c8e7f8f24 Fixed 'unused variable' warning for the variable 'nfds' in select()
on local-threads-only platforms.  This is pointed out by many people,
including Nat <gnat@frii.com>.
1998-04-09 19:44:46 +00:00
wtc
666c848a9f Fixed 'unused variable' compiler warning in prsocket.c. This is pointed
out by many people, including Nat <gnat@frii.com>.
1998-04-09 19:41:13 +00:00
wtc
46fd3d75dc Include <stdlib.h> for malloc and free. 1998-04-08 00:14:54 +00:00
wtc
9bde636b16 If RTLD_LAZY is not defined, define it to be the same as RTLD_NOW,
as oppposed to the value 1.  This is to avoid conflicting with the
value of other RTLD_XXX flags.
On HP-UX, shared libraries built using aCC cannot be dynamically loaded
with BIND_DEFERRED, so we have to use the BIND_IMMEDIATE flag in
shl_load().
1998-04-07 23:05:07 +00:00
wtc
4d20316856 Digital Unix has atomic routines declared in <machines/builtins.h>,
so we define _PR_MD_ATOMIC_XXX to use them.
1998-04-07 22:43:50 +00:00
wtc
51f022b080 The static variable 'tracefile' is only used when WIN16 is defined,
so put it inside #ifdef to eliminate unused variable compiler
warning on other platforms.
1998-04-07 22:40:39 +00:00
spider
1a2f45f67e Changes for loop to use new makecopy with wildcards so can build under win95 1998-04-07 20:42:00 +00:00
wtc
c5f0bd3b5e Fixed the return type of the _PR_MD_ATOMIC_XXX routines. They
should return PRInt32, not void. (Reported by William A. Law,
law@netscape.com.)
1998-04-07 20:36:46 +00:00
ltabb
3b56a9af51 Free the lizard 1998-03-28 02:44:41 +00:00