ad4dda469f
This patch contains changes to NetBSD libc code base to make it compile and work on Minix. Some of them are due to actual NetBSD libc bugs, as we're compiling it in non-reentrant mode and with a.out support, something not exactly frequent in NetBSD. Others are proper fixes to port it to Minix (mostly sa_len parameter missing in socket and a few mmap from files).
12 lines
310 B
C
12 lines
310 B
C
/* $NetBSD: gdtoa_locks.c,v 1.1 2006/01/25 15:36:13 kleink Exp $ */
|
|
|
|
/*
|
|
* Written by Klaus Klein <kleink@NetBSD.org>, November 16, 2005.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include "gdtoaimp.h"
|
|
|
|
#ifdef _REENTRANT /* !__minix */
|
|
mutex_t __gdtoa_locks[2] = { MUTEX_INITIALIZER, MUTEX_INITIALIZER };
|
|
#endif /* _REENTRANT */
|