summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/libio.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-23 06:07:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-23 06:07:53 +0000
commit83c5fc1bb9b45c22e428e1f7642b5a67cbf44b98 (patch)
tree76b5d9d4ee1884f779f727c1d33098a34ba0f7bf /cpukit/libcsupport/src/libio.c
parent2004-03-22 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-83c5fc1bb9b45c22e428e1f7642b5a67cbf44b98.tar.bz2
2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/include/chain.h, libcsupport/include/clockdrv.h, libcsupport/include/ringbuf.h, libcsupport/include/spurious.h, libcsupport/include/timerdrv.h, libcsupport/include/vmeintr.h, libcsupport/include/motorola/mc68230.h, libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/libio.h, libcsupport/include/rtems/libio_.h, libcsupport/include/rtems/termiostypes.h, libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h, libcsupport/src/__gettod.c, libcsupport/src/assoc.c, libcsupport/src/assocnamebad.c, libcsupport/src/error.c, libcsupport/src/libio.c, libcsupport/src/libio_sockets.c, libcsupport/src/malloc.c, libcsupport/src/no_libc.c, libcsupport/src/termios.c, libcsupport/src/termiosreserveresources.c: Convert to using c99 fixed-size types.
Diffstat (limited to 'cpukit/libcsupport/src/libio.c')
-rw-r--r--cpukit/libcsupport/src/libio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/libio.c b/cpukit/libcsupport/src/libio.c
index bc868dd51a..fc46e45f8e 100644
--- a/cpukit/libcsupport/src/libio.c
+++ b/cpukit/libcsupport/src/libio.c
@@ -48,7 +48,7 @@
* File descriptor Table Information
*/
-extern unsigned32 rtems_libio_number_iops;
+extern uint32_t rtems_libio_number_iops;
rtems_id rtems_libio_semaphore;
rtems_libio_t *rtems_libio_iops;
rtems_libio_t *rtems_libio_iop_freelist;
@@ -121,12 +121,12 @@ rtems_assoc_t status_flags_assoc[] = {
{ 0, 0, 0 },
};
-unsigned32 rtems_libio_fcntl_flags(
- unsigned32 fcntl_flags
+uint32_t rtems_libio_fcntl_flags(
+ uint32_t fcntl_flags
)
{
- unsigned32 flags = 0;
- unsigned32 access_modes;
+ uint32_t flags = 0;
+ uint32_t access_modes;
/*
* Access mode is a small integer
@@ -151,11 +151,11 @@ unsigned32 rtems_libio_fcntl_flags(
* Convert RTEMS internal flags to UNIX fnctl(2) flags
*/
-unsigned32 rtems_libio_to_fcntl_flags(
- unsigned32 flags
+uint32_t rtems_libio_to_fcntl_flags(
+ uint32_t flags
)
{
- unsigned32 fcntl_flags = 0;
+ uint32_t fcntl_flags = 0;
if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
fcntl_flags |= O_RDWR;