diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-23 13:07:29 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-23 13:07:29 +0000 |
commit | 39cefdda936dcd1e6336391efb85776dd7b86ef9 (patch) | |
tree | 48a1fd769bad2226ef47df632fd9faadb3de47bf /cpukit/posix/src/posixtimespecsubtract.c | |
parent | 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-39cefdda936dcd1e6336391efb85776dd7b86ef9.tar.bz2 |
2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* posix/include/rtems/posix/cond.h,
posix/include/rtems/posix/intr.h, posix/include/rtems/posix/key.h,
posix/include/rtems/posix/mqueue.h,
posix/include/rtems/posix/mutex.h,
posix/include/rtems/posix/pthread.h,
posix/include/rtems/posix/semaphore.h,
posix/include/rtems/posix/threadsup.h,
posix/include/rtems/posix/timer.h, posix/src/cond.c,
posix/src/intr.c, posix/src/key.c, posix/src/keycreate.c,
posix/src/keydelete.c, posix/src/keygetspecific.c,
posix/src/keyrundestructors.c, posix/src/keysetspecific.c,
posix/src/killinfo.c, posix/src/mqueue.c,
posix/src/mqueuerecvsupp.c, posix/src/mqueuesendsupp.c,
posix/src/mqueuetranslatereturncode.c, posix/src/mutex.c,
posix/src/posixintervaltotimespec.c,
posix/src/posixtimespecsubtract.c, posix/src/psignal.c,
posix/src/pthread.c, posix/src/ptimer1.c, posix/src/semaphore.c,
posix/src/sysconf.c: Convert to using c99 fixed size types.
Diffstat (limited to 'cpukit/posix/src/posixtimespecsubtract.c')
-rw-r--r-- | cpukit/posix/src/posixtimespecsubtract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/posixtimespecsubtract.c b/cpukit/posix/src/posixtimespecsubtract.c index 205730468a..1239eb410f 100644 --- a/cpukit/posix/src/posixtimespecsubtract.c +++ b/cpukit/posix/src/posixtimespecsubtract.c @@ -31,7 +31,7 @@ void _POSIX_Timespec_subtract( { struct timespec start_struct = *the_start; struct timespec *start = &start_struct; - unsigned32 nsecs_per_sec = TOD_NANOSECONDS_PER_SECOND; + uint32_t nsecs_per_sec = TOD_NANOSECONDS_PER_SECOND; if (end->tv_nsec < start->tv_nsec) { int seconds = (start->tv_nsec - end->tv_nsec) / nsecs_per_sec + 1; |