diff options
author | Christopher Faylor <me@cgf.cx> | 2007-07-08 19:04:34 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2007-07-08 19:04:34 +0400 |
commit | b85bae86cd4d46f5f173ce3f8de3547d9a11af6d (patch) | |
tree | 0077770f05befd849a571ee60c30aa5957a8949f /winsup/cygwin/include | |
parent | f3c7a5c457e054934a73121d28d94c6bad60a4e2 (diff) |
* Makefile.in (DLL_OFILES): Add newly-imported random.o. Eliminate reliance on
libiberty.
* random.cc: Import from FreeBSD. Modify for Cygwin environment.
* include/cygwin/stdlib.h (random): Reflect change in return value to be more
linux/freebsd-like.
(srandom): Ditto.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/stdlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/include/cygwin/stdlib.h b/winsup/cygwin/include/cygwin/stdlib.h index acd1f8afc..07a4ea5a1 100644 --- a/winsup/cygwin/include/cygwin/stdlib.h +++ b/winsup/cygwin/include/cygwin/stdlib.h @@ -24,8 +24,8 @@ void setprogname (const char *); #ifndef __STRICT_ANSI__ char *realpath (const char *, char *); int unsetenv (const char *); -int random (void); -long srandom (unsigned); +long random (void); +void srandom (unsigned); char *ptsname (int); int grantpt (int); int unlockpt (int); |