diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2000-12-12 01:24:09 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2000-12-12 01:24:09 +0000 |
commit | 8fb3796385eb2416d05567a5996cc60f251d0021 (patch) | |
tree | bbb95a383e2485dcc0fdf9948770e2edfad0aee1 /newlib/libc/include/machine | |
parent | 947411367d78a0fcbecb21f47711bce31c5a0d08 (diff) | |
download | cygnal-8fb3796385eb2416d05567a5996cc60f251d0021.tar.gz cygnal-8fb3796385eb2416d05567a5996cc60f251d0021.tar.bz2 cygnal-8fb3796385eb2416d05567a5996cc60f251d0021.zip |
2000-12-11 Joel Sherrill <joel@OARcorp.com>
* Merge RTEMS specific .h files into main libc/include.
* libc/sys/rtems/include/signal.h: Removed.
* libc/sys/rtems/include/time.h: Removed.
* libc/sys/rtems/sys/features.h: Removed.
* libc/sys/rtems/sys/sched.h: Removed.
* libc/sys/rtems/sys/siginfo.h: Removed.
* libc/sys/rtems/sys/signal.h: Removed.
* libc/sys/rtems/sys/time.h: Removed.
* libc/sys/rtems/sys/times.h: Removed.
definitions for time_t and clock_t since these are
no longer in time.h.
* libc/include/pthread.h: New file.
* libc/include/sys/sched.h: New file.
* libc/include/sys/features.h: New file.
* libc/include/time.h: Removed duplicate definition of clock_t
and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality.
* libc/sys/linux/sys/types.h: Changed to include
* libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
* libc/include/sys/signal.h: Add more complete set of POSIX
signal functionality including real-time and threaded signals.
* libc/include/sys/types.h: Add clock_t, time_t, struct
timespec, and struct itimerspec. Centralizing these makes
things cleaner. RTEMS uses 64-bit dev_t.
Added numerous primitive definitions
for pthreads including macros, pthread_attr_t,
pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
pthread_once_t, and pthread_t.
* libc/include/sys/unistd.h: Added getlogin_r() prototype.
If RTEMS follow POSIX on read(), write() and sbrk() prototype.
Feature flags removed and moved to new file <sys/features.h>.
Full set of POSIX sysconf() constants
Diffstat (limited to 'newlib/libc/include/machine')
-rw-r--r-- | newlib/libc/include/machine/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/machine/types.h b/newlib/libc/include/machine/types.h index b71a67f56..ad8cc28c3 100644 --- a/newlib/libc/include/machine/types.h +++ b/newlib/libc/include/machine/types.h @@ -3,6 +3,9 @@ #define _CLOCK_T_ unsigned long /* clock() */ #define _TIME_T_ long /* time() */ +#define _CLOCKID_T_ unsigned long +#define _TIMER_T_ unsigned long + #endif /* _MACHTYPES_H_ */ |