diff options
Diffstat (limited to 'usr/src/lib/libc/port/stdio/flush.c')
-rw-r--r-- | usr/src/lib/libc/port/stdio/flush.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/src/lib/libc/port/stdio/flush.c b/usr/src/lib/libc/port/stdio/flush.c index 9d87b8c4fd..fb8d058e4c 100644 --- a/usr/src/lib/libc/port/stdio/flush.c +++ b/usr/src/lib/libc/port/stdio/flush.c @@ -24,18 +24,14 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ +#pragma ident "%Z%%M% %I% %E% SMI" -#include "synonyms.h" +#include "lint.h" #include "mtlib.h" #include "file64.h" - -#define _iob __iob - #include <sys/types.h> #include <stdlib.h> #include <stdio.h> @@ -50,6 +46,8 @@ #include <errno.h> #include <fcntl.h> +#define _iob __iob + #undef end #define FILE_ARY_SZ 8 /* a nice size for FILE array & end_buffer_ptrs */ @@ -365,14 +363,16 @@ rescan: #ifdef _LP64 fp = hdr->iobp; for (i = 0; i < FILE_ARY_SZ; i++) - mutex_init(&fp[i]._lock, USYNC_THREAD | LOCK_RECURSIVE, NULL); + (void) mutex_init(&fp[i]._lock, + USYNC_THREAD | LOCK_RECURSIVE, NULL); #else xfp = hdr->iobp; fp = &xfp->_iob; for (i = 0; i < FILE_ARY_SZ; i++) { xfp[i].xmagic = XMAGIC(&xfp[i]); - mutex_init(&xfp[i].xlock, USYNC_THREAD | LOCK_RECURSIVE, NULL); + (void) mutex_init(&xfp[i].xlock, + USYNC_THREAD | LOCK_RECURSIVE, NULL); } #endif /* _LP64 */ |