Jeff Johnston
|
2072888e66
|
2009-10-09 Dave Korn <dave.korn@artimi.com>
* libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when
defining struct timeval.
|
2009-10-09 18:43:12 +00:00 |
Jeff Johnston
|
04e4752943
|
2008-12-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/time.h(gettimeofday): Change prototype so
2nd parameter is void *, matching SUSV2.
* libc/syscalls/sysgettod.c(gettimeofday): Ditto.
|
2008-12-11 22:48:38 +00:00 |
Jeff Johnston
|
7dd0c33097
|
2008-12-11 Craig Howland <howland@LGSInnovations.com>
* libc/include/sys/lock.h: Add void cast to avoid "statement has no
effect" warnings from gcc.
* libc/include/sys/stdio.h: Ditto.
* libc/include/sys/time.h: Correct gettimeofday() prototype.
* libc/stdlib/__exp10.c: Add #include "std.h" for function prototype.
* libc/stdlib/__ten_mu.c: Ditto.
* libc/stdlib/std.h: Correct __exp10's ANSI prototype.
* libc/stdlib/ldtoa.c: Change eiisinf definition to ANSI form. (Are
already others in file without _ansi method, so did not bother.)
* libc/stdlib/system.c: Use _ansi forms for function prototypes and
definitions.
* libc/time/mktime.c: Ditto.
* libc/misc/__dprintf.c: Ditto.
* libc/include/stdio.h: Add function prototypes for _fgetc_r,
_fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
_funopen_r, and _fopencookie_r.
* libc/include/reent.h: Add function prototype for _stat64_r, align
_execve_r prototype with POSIX definition for execve.
* libc/reent/execr.c: Align function prototype with POSIX definition.
* libc/stdio/asniprintf.c: Add #include "local.h".
* libc/stdio/vasniprintf.c: Ditto.
* libc/stdio/fread.c: Remove unused variable newcount.
* libc/stdio/local.h: Add function prototype for __sccl.
* libc/stdio/open_memstream.c: Remove unused variable flags.
* libc/stdio/vfscanf.c: Proper prototyping for ccfn, remove prototype
for __sccl since now in local.h.
* libc/string/memcpy.c: Add #include <string.h> (for real and for
traditional synopsis), remove extraneous stddef.h and limits.h.
* libc/syscalls/sysclose.c: Add #include <unistd.h>.
* libc/syscalls/sysfork.c: Ditto.
* libc/syscalls/sysgetpid.c: Ditto.
* libc/syscalls/sysexecve.c: Add #include <unistd.h>, align function
prototype with POSIX definition.
* libc/syscalls/sysfstat.c: Add #include <sys/stat.h>.
* libc/syscalls/sysgettod.c: Correct sys/times.h to sys/time.h.
* libc/syscalls/syskill.c: Add #include <signal.h>.
* libc/syscalls/syslink.c: Add #include <unistd.h>, fix prototype.
* libc/syscalls/sysunlink.c: Ditto.
* libc/syscalls/sysstat.c: Add #include <sys/stat.h>, fix prototype.
* libc/syscalls/syswait.c: Add #include <sys/wait.h>, fix prototype.
|
2008-12-11 17:27:56 +00:00 |
Jeff Johnston
|
0be2bc94e7
|
2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/time.h (gettimeofday): Change to proper
prototype where second parameter is void *.
* libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
accordingly.
* libc/include/reent.h: Fix prototype for _gettimeofday_r.
* libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
* libc/sys/rdos/gettod.c: Ditto.
* libc/sys/sh/syscalls.c: Ditto.
* libc/time/time.c (time): Change call to _gettimeofday_r
to pass NULL as 2nd argument.
|
2007-07-06 16:56:30 +00:00 |
Corinna Vinschen
|
680e0f1ffd
|
* libc/include/sys/time.h (struct timeval): Change member types
according to SUSv3.
* libc/include/sys/types.h (useconds_t): Change to unsigned
according to SUSv3.
(suseconds_t): Define type.
|
2006-02-15 10:26:30 +00:00 |
Christopher Faylor
|
d7d477b7f7
|
* include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
|
2005-11-18 16:08:10 +00:00 |
Christopher Faylor
|
d3e81bdac8
|
* include/time.h: Move cygwin declarations to cygwin-specific header.
* include/sys/time.h: Rename cygwin include to "sys_time.h".
|
2005-11-18 15:45:54 +00:00 |
Christopher Faylor
|
37bd11ed12
|
* libc/include/sys/time.h: For cygwin, use general header rather than specific
"sys/select.h".
|
2005-11-11 16:23:36 +00:00 |
Corinna Vinschen
|
c70571bdbe
|
* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
|
2005-10-20 14:38:57 +00:00 |
Corinna Vinschen
|
18d3a03bd4
|
* libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
members to uid_t and gid_t according to SUSv3.
* libc/include/sys/time.h (utimes): Change second parameter
to const according to SUSv3.
|
2005-02-08 20:55:18 +00:00 |
Christopher Faylor
|
8c9df1d571
|
* libc/include/sys/time.h: Define timercmp and other macros for __CYGWIN__,
too.
|
2001-04-21 03:22:47 +00:00 |
Jeff Johnston
|
8677b81966
|
2000-12-04 Joel Sherrill <joel@OARcorp.com>
* libc/include/sys/time.h: Added BSD timer manipulation macros
used by RTEMS code.
|
2000-12-04 18:40:53 +00:00 |
Christopher Faylor
|
d2dd57657c
|
* libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
* libc/include/malloc.h: Ditto.
* libc/include/process.h: Ditto.
* libc/include/stdio.h: Ditto.
* libc/include/stdlib.h: Ditto.
* libc/include/time.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/include/sys/errno.h: Ditto.
* libc/include/sys/signal.h: Ditto.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/time.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/include/string.h: Ditto. strsignal should return a const char *.
|
2000-05-30 17:18:05 +00:00 |
Christopher Faylor
|
8a0efa53e4
|
import newlib-2000-02-17 snapshot
|
2000-02-17 19:39:52 +00:00 |