@@ -253,7 +253,7 @@ static const char b64t[64] =
struct crypt_data _ufc_foobar;
#ifdef __GNU_LIBRARY__
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
__libc_lock_define_initialized (static, _ufc_tables_lock)
#endif
@@ -20,7 +20,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#ifndef SCANDIR_TAIL
# define SCANDIR_TAIL __scandir_tail
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <ldsodefs.h>
#if !defined SHARED && IS_IN (libdl)
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <ldsodefs.h>
#include <sys/types.h>
#include <sys/mman.h>
@@ -20,7 +20,7 @@
#include <errno.h>
#include <ldsodefs.h>
#include <stddef.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
static void
cancel_handler (void *arg __attribute__((unused)))
@@ -25,7 +25,7 @@
#include <dl-hash.h>
#include <dl-machine.h>
#include <sysdep-cancel.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <tls.h>
#include <atomic.h>
@@ -26,7 +26,7 @@
#include <unistd.h>
#include <sys/mman.h> /* Check whether MAP_COPY is defined. */
#include <sys/param.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <ldsodefs.h>
#include <caller.h>
#include <sysdep-cancel.h>
@@ -27,7 +27,7 @@
#include <stdint.h>
#include <ldsodefs.h>
#include <dl-machine.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <dl-cache.h>
#include <dl-librecon.h>
#include <dl-procinfo.h>
@@ -18,7 +18,7 @@
#include <sys/uio.h>
#include <ldsodefs.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* This is used from only one place: dl-misc.c:_dl_debug_vdprintf.
Hence it's in a header with the expectation it will be inlined.
@@ -31,7 +31,7 @@
#include <entry.h>
#include <fpu_control.h>
#include <hp-timing.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "dynamic-link.h"
#include <dl-librecon.h>
#include <unsecvars.h>
@@ -17,7 +17,7 @@
#include <errno.h>
#include <grp.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdio.h>
#include <stdlib.h>
@@ -16,7 +16,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <gshadow.h>
#include <stdio.h>
#include <stdlib.h>
@@ -16,7 +16,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <gshadow.h>
#include <stdlib.h>
@@ -31,7 +31,7 @@
#include <unistd.h>
#include <sys/param.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <gconv_int.h>
@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <locale/localeinfo.h>
#include <dlfcn.h>
@@ -23,7 +23,7 @@
#include <search.h>
#include <stdlib.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <sys/param.h>
#include <gconv_int.h>
@@ -23,7 +23,7 @@
#include <stdlib.h> /* For alloca used in macro below. */
#include <ctype.h> /* For __toupper_l used in macro below. */
#include <string.h> /* For strlen et al used in macro below. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
__BEGIN_DECLS
@@ -24,7 +24,7 @@
#include <string.h>
#include <stdlib.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "gconv_int.h"
#include "../locale/localeinfo.h"
@@ -43,7 +43,7 @@ extern unsigned int la_objopen (struct link_map *__map, Lmid_t __lmid,
#include <dl-fileid.h>
#include <dl-lookupcfg.h>
#include <tls.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Some internal data structures of the dynamic linker used in the
@@ -51,7 +51,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/types.h>
#include <sys/un.h>
#include <sys/utsname.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <scratch_buffer.h>
#ifdef HAVE_LIBIDN
@@ -18,7 +18,7 @@
#include <errno.h>
#include <netdb.h>
#include <stdlib.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Static buffer for return value. We allocate it when needed. */
libc_freeres_ptr (static char *buffer);
@@ -17,7 +17,7 @@
#include <assert.h>
#include <atomic.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <errno.h>
#include <netdb.h>
#include <stdbool.h>
@@ -31,7 +31,7 @@
/* Handle multi-threaded applications. */
#ifdef _LIBC
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
# define gl_rwlock_define __libc_rwlock_define
# define gl_rwlock_wrlock __libc_rwlock_wrlock
# define gl_rwlock_unlock __libc_rwlock_unlock
@@ -103,7 +103,7 @@ extern int errno;
/* Handle multi-threaded applications. */
#ifdef _LIBC
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
# define gl_rwlock_define_initialized __libc_rwlock_define_initialized
# define gl_rwlock_rdlock __libc_rwlock_rdlock
# define gl_rwlock_wrlock __libc_rwlock_wrlock
@@ -37,7 +37,7 @@
/* Handle multi-threaded applications. */
#ifdef _LIBC
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
# define gl_rwlock_define_initialized __libc_rwlock_define_initialized
# define gl_rwlock_rdlock __libc_rwlock_rdlock
# define gl_rwlock_wrlock __libc_rwlock_wrlock
@@ -30,7 +30,7 @@
/* Handle multi-threaded applications. */
#ifdef _LIBC
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
# define gl_rwlock_define __libc_rwlock_define
#else
# include "lock.h"
@@ -95,7 +95,7 @@ char *alloca ();
/* Handle multi-threaded applications. */
#ifdef _LIBC
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
#else
# include "lock.h"
#endif
@@ -83,7 +83,7 @@ char *alloca ();
/* Handle multi-threaded applications. */
#ifdef _LIBC
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
#else
# include "lock.h"
#endif
@@ -30,7 +30,7 @@
/* Handle multi-threaded applications. */
#ifdef _LIBC
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
# define gl_rwlock_define __libc_rwlock_define
# define gl_rwlock_wrlock __libc_rwlock_wrlock
# define gl_rwlock_unlock __libc_rwlock_unlock
@@ -22,7 +22,7 @@
#include <string.h>
#include <dlfcn.h>
#include <gnu/lib-names.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Get specification for idna_to_ascii_lz. */
#include "idna.h"
@@ -39,7 +39,7 @@
# define __set_errno(Val) errno = (Val)
#endif
#if defined __GLIBC__ && __GLIBC__ >= 2
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
#else
/*# include <comthread.h>*/
#endif
@@ -18,7 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <locale.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <string.h>
@@ -19,7 +19,7 @@
#include <locale.h>
#include <stdlib.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "localeinfo.h"
@@ -18,7 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <argz.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <errno.h>
#include <locale.h>
#include <stdlib.h>
@@ -18,7 +18,7 @@
#include <alloca.h>
#include <argz.h>
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
@@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <utmp.h>
@@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <errno.h>
#include <stdlib.h>
#include <utmp.h>
@@ -18,7 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <utmp.h>
#include "utmp-private.h"
@@ -22,7 +22,7 @@
#define _UTMP_PRIVATE_H 1
#include <utmp.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* The structure describing the functions in a backend. */
struct utfuncs
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <string.h>
#include <utmp.h>
@@ -22,7 +22,7 @@
# define _MALLOC_INTERNAL
# include <malloc.h>
# include <mcheck.h>
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
#endif
#include <dlfcn.h>
@@ -21,7 +21,7 @@
#include <stdlib.h>
#include <sys/param.h>
#include <float.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <math_ldbl_opt.h>
#ifndef FLOAT_TYPE
@@ -85,7 +85,7 @@ extern void __error_at_line (int status, int errnum, const char *file_name,
# undef putc
# define putc(c, fp) _IO_putc (c, fp)
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
#else /* not _LIBC */
@@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#define BUFFER_SIZE 0x1fc0
@@ -24,7 +24,7 @@
#include <wchar.h>
#define flockfile(s) _IO_flockfile (s)
#define funlockfile(s) _IO_funlockfile (s)
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* It is desirable to use this bit on systems that have it.
The only bit of terminal state we want to twiddle is echoing, which is
@@ -18,7 +18,7 @@
#include <mntent.h>
#include <stdlib.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* We don't want to allocate the static buffer all the time since it
is not always used (in fact, rather infrequently). Accept the
@@ -47,7 +47,7 @@ static char sccsid[] = "@(#)syslog.c 8.4 (Berkeley) 3/18/94";
#include <time.h>
#include <unistd.h>
#include <stdlib.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <signal.h>
#include <locale.h>
@@ -28,7 +28,7 @@
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nis_xdr.h"
#include "nis_intern.h"
@@ -33,7 +33,7 @@
#include <rpc/key_prot.h>
#include <rpcsvc/nis.h>
#include <rpcsvc/nis_callback.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nis_xdr.h"
#include "nis_intern.h"
@@ -21,7 +21,7 @@
#include <stdio_ext.h>
#include <stdlib.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <libnsl.h>
@@ -25,7 +25,7 @@
#include <stdio_ext.h>
#include <string.h>
#include <rpc/types.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <kernel-features.h>
static service_user *ni;
@@ -27,7 +27,7 @@
#include <rpc/types.h>
#include <sys/param.h>
#include <nsswitch.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <kernel-features.h>
#include <scratch_buffer.h>
@@ -27,7 +27,7 @@
#include <string.h>
#include <rpc/types.h>
#include <rpcsvc/ypclnt.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <kernel-features.h>
#include "netgroup.h"
@@ -27,7 +27,7 @@
#include <string.h>
#include <rpc/types.h>
#include <rpcsvc/ypclnt.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <kernel-features.h>
#include "netgroup.h"
@@ -21,7 +21,7 @@
#include <errno.h>
#include <string.h>
#include <aliases.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -20,7 +20,7 @@
#include <ctype.h>
#include <errno.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
#include <netinet/ether.h>
@@ -21,7 +21,7 @@
#include <grp.h>
#include <nss.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -28,7 +28,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <resolv.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -28,7 +28,7 @@
#include <string.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -21,7 +21,7 @@
#include <ctype.h>
#include <errno.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -22,7 +22,7 @@
#include <nss.h>
#include <pwd.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -21,7 +21,7 @@
#include <ctype.h>
#include <errno.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -21,7 +21,7 @@
#include <ctype.h>
#include <errno.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -25,7 +25,7 @@
#define _nss_nis_endspent _nss_nis_endspent_XXX
#include <shadow.h>
#undef _nss_nis_endspent
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
@@ -22,7 +22,7 @@
#include <ctype.h>
#include <string.h>
#include <aliases.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/nis.h>
#include "nss-nisplus.h"
@@ -26,7 +26,7 @@
#include <netinet/ether.h>
#include <netinet/if_ether.h>
#include <rpcsvc/nis.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nss-nisplus.h"
@@ -22,7 +22,7 @@
#include <ctype.h>
#include <errno.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/nis.h>
#include "nss-nisplus.h"
@@ -26,7 +26,7 @@
#include <arpa/inet.h>
#include <netinet/in.h>
#include <rpcsvc/nis.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nss-nisplus.h"
@@ -21,7 +21,7 @@
#include <ctype.h>
#include <errno.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/nis.h>
#include "nss-nisplus.h"
@@ -25,7 +25,7 @@
#include <string.h>
#include <arpa/inet.h>
#include <rpcsvc/nis.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nss-nisplus.h"
@@ -23,7 +23,7 @@
#include <nss.h>
#include <string.h>
#include <rpcsvc/nis.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nss-nisplus.h"
@@ -21,7 +21,7 @@
#include <errno.h>
#include <pwd.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/nis.h>
#include "nss-nisplus.h"
@@ -23,7 +23,7 @@
#include <string.h>
#include <rpc/netdb.h>
#include <rpcsvc/nis.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nss-nisplus.h"
@@ -23,7 +23,7 @@
#include <nss.h>
#include <string.h>
#include <rpcsvc/nis.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nss-nisplus.h"
@@ -20,7 +20,7 @@
#include <errno.h>
#include <shadow.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpcsvc/nis.h>
#include "nss-nisplus.h"
@@ -28,7 +28,7 @@
#include <rpcsvc/ypupd.h>
#include <sys/socket.h>
#include <sys/uio.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* This should only be defined on systems with a BSD compatible ypbind */
#ifndef BINDINGDIR
@@ -23,7 +23,7 @@
#include <tls.h>
#include <string.h>
#include <pthreadP.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <sysdep.h>
#include <ldsodefs.h>
@@ -46,9 +46,9 @@ do_test (void)
if (rwl_writer.__data.__flags
!= PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP)
return 6;
- /* <bits/libc-lock.h> __libc_rwlock_init definition for libc.so
+ /* <libc-lock.h> __libc_rwlock_init definition for libc.so
relies on PTHREAD_RWLOCK_INITIALIZER being all zeros. If
- that ever changes, <bits/libc-lock.h> needs updating. */
+ that ever changes, <libc-lock.h> needs updating. */
size_t i;
for (i = 0; i < sizeof (rwl_normal); i++)
if (((char *) &rwl_normal)[i] != '\0')
@@ -17,7 +17,7 @@
#include <assert.h>
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <resolv.h>
@@ -16,7 +16,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include "nsswitch.h"
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nsswitch.h"
@@ -20,7 +20,7 @@
#include <fcntl.h>
#include <stdint.h>
#include <sys/mman.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nsswitch.h"
#include "nss_db.h"
@@ -24,7 +24,7 @@
#include <netgroup.h>
#include <string.h>
#include <stdint.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <paths.h>
#include <stdlib.h>
@@ -21,7 +21,7 @@
#include <nss.h>
#include <stdint.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* String table index type. */
@@ -20,7 +20,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nsswitch.h"
#include <kernel-features.h>
@@ -21,7 +21,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -20,7 +20,7 @@
#include <dlfcn.h>
#include <errno.h>
#include <netdb.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <search.h>
#include <stdio.h>
#include <stdio_ext.h>
@@ -45,7 +45,7 @@
# include <stdint.h>
#endif /* HAVE_STDINT_H || _LIBC */
#if defined _LIBC
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
#else
# define __libc_lock_define(CLASS,NAME)
# define __libc_lock_init(NAME) do { } while (0)
@@ -42,7 +42,7 @@
#include <wordexp.h>
#include <kernel-features.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <_itoa.h>
/* Undefine the following line for the production version. */
@@ -16,7 +16,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
@@ -41,7 +41,7 @@
#include <sys/ioctl.h>
#include <unistd.h>
#include <netinet/in.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "ifreq.h"
#include "res_hconf.h"
#include <wchar.h>
@@ -21,7 +21,7 @@
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* The following bit is copied from res_data.c (where it is #ifdef'ed
@@ -16,7 +16,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <shadow.h>
#include <stdio.h>
#include <stdlib.h>
@@ -18,7 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <fcntl.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <shadow.h>
#include <signal.h>
#include <string.h>
@@ -16,7 +16,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <shadow.h>
#include <stdlib.h>
@@ -17,7 +17,7 @@
#include <stdio.h>
#include <sys/socket.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Return a socket of any type. The socket can be used in subsequent
ioctl calls to talk to the kernel. */
@@ -20,7 +20,7 @@
#include <printf.h>
#include <stdlib.h>
#include <wchar.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
struct printf_modifier_record
@@ -20,7 +20,7 @@
#include <printf.h>
#include <stddef.h>
#include <stdlib.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Array of functions indexed by format character. */
@@ -18,7 +18,7 @@
#include <errno.h>
#include <printf.h>
#include <stdlib.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Array of functions indexed by format character. */
@@ -24,7 +24,7 @@
#include <string.h>
#include <errno.h>
#include <wchar.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <sys/param.h>
#include <_itoa.h>
#include <locale/localeinfo.h>
@@ -27,7 +27,7 @@
#include <string.h>
#include <wchar.h>
#include <wctype.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <locale/localeinfo.h>
#ifdef __GNUC__
@@ -15,7 +15,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdint.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "exit.h"
#include <atomic.h>
#include <sysdep.h>
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <fmtmsg.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
@@ -50,7 +50,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.*/
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <limits.h>
#include <stddef.h>
#include <stdlib.h>
@@ -57,7 +57,7 @@ extern char **environ;
#if _LIBC
/* This lock protects against simultaneous modifications of `environ'. */
-# include <bits/libc-lock.h>
+# include <libc-lock.h>
__libc_lock_define_initialized (static, envlock)
# define LOCK __libc_lock_lock (envlock)
# define UNLOCK __libc_lock_unlock (envlock)
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include <string.h>
#include <libintl.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
static __libc_key_t key;
@@ -35,7 +35,7 @@
*/
#include <rpc/rpc.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#define MAX_MARSHAL_SIZE 20
@@ -35,7 +35,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/*
* Locks the static variables in this file.
@@ -19,7 +19,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <sys/time.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpc/rpc.h>
/* The RPC code is not threadsafe, but new code should be threadsafe. */
@@ -48,7 +48,7 @@
#include <sys/param.h>
#include <sys/socket.h>
#include <rpc/key_prot.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#define KEY_TIMEOUT 5 /* per-try timeout in seconds */
#define KEY_NRETRY 12 /* number of retries */
@@ -1,9 +1,9 @@
#include <stdio.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <rpc/rpc.h>
#include <assert.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <libc-tsd.h>
#ifdef _RPC_THREAD_SAFE_
@@ -17,7 +17,7 @@
License along with the GNU C Library. If not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <dlfcn.h>
#include <execinfo.h>
#include <stdlib.h>
@@ -35,7 +35,7 @@
#include <link.h>
#include <dl-lookupcfg.h>
#include <dl-sysdep.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <hp-timing.h>
#include <tls.h>
similarity index 98%
rename from bits/libc-lock.h
rename to sysdeps/generic/libc-lock.h
@@ -16,8 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#ifndef _BITS_LIBC_LOCK_H
-#define _BITS_LIBC_LOCK_H 1
+#ifndef _LIBC_LOCK_H
+#define _LIBC_LOCK_H 1
/* Define a lock variable NAME with storage class CLASS. The lock must be
@@ -137,4 +137,4 @@ typedef int __libc_key_t;
/* Get thread-specific data associated with KEY. */
#define __libc_getspecific(KEY) ((void) (KEY), (void *) 0)
-#endif /* bits/libc-lock.h */
+#endif /* libc-lock.h */
@@ -19,7 +19,7 @@
#ifndef _STDIO_LOCK_H
#define _STDIO_LOCK_H 1
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
__libc_lock_define_recursive (typedef, _IO_lock_t)
@@ -27,7 +27,7 @@
#ifdef _LIBC
#include <stdlib.h>
#include <string.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <dwarf2.h>
#include <unwind.h>
#define NO_BASE_OF_ENCODED_VALUE
@@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <dlfcn.h>
#include <execinfo.h>
#include <stdlib.h>
@@ -25,7 +25,7 @@
#include <monetary.h>
#include <locale/localeinfo.h>
#include <sys/syslog.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "nldbl-compat.h"
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <dlfcn.h>
#include <execinfo.h>
#include <stdlib.h>
@@ -15,7 +15,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <errno.h>
#include <stdlib.h>
@@ -19,7 +19,7 @@
#define _DIRSTREAM_H 1
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Directory stream type.
similarity index 98%
rename from sysdeps/mach/hurd/bits/libc-lock.h
rename to sysdeps/mach/hurd/libc-lock.h
@@ -16,8 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#ifndef _BITS_LIBC_LOCK_H
-#define _BITS_LIBC_LOCK_H 1
+#ifndef _LIBC_LOCK_H
+#define _LIBC_LOCK_H 1
#if (_LIBC - 0) || (_CTHREADS_ - 0)
#include <cthreads.h>
@@ -206,7 +206,7 @@ void *__libc_getspecific (__libc_key_t key);
/* Hide the definitions which are only supposed to be used inside libc in
a separate file. This file is not present in the installation! */
#ifdef _LIBC
-# include <bits/libc-lockP.h>
+# include <libc-lockP.h>
#endif
-#endif /* bits/libc-lock.h */
+#endif /* libc-lock.h */
@@ -23,7 +23,7 @@
#undef thread_atfork_static
#include <atomic.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Assume hurd, with cthreads */
similarity index 98%
rename from sysdeps/mach/bits/libc-lock.h
rename to sysdeps/mach/libc-lock.h
@@ -16,8 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#ifndef _BITS_LIBC_LOCK_H
-#define _BITS_LIBC_LOCK_H 1
+#ifndef _LIBC_LOCK_H
+#define _LIBC_LOCK_H 1
#ifdef _LIBC
#include <cthreads.h>
@@ -142,4 +142,4 @@ void *__libc_getspecific (__libc_key_t key);
#define __rtld_lock_unlock_recursive __libc_lock_unlock
#define __rtld_lock_lock_recursive __libc_lock_lock
-#endif /* bits/libc-lock.h */
+#endif /* libc-lock.h */
similarity index 98%
rename from sysdeps/nptl/bits/libc-lock.h
rename to sysdeps/nptl/libc-lock.h
@@ -16,8 +16,8 @@
License along with the GNU C Library; see the file COPYING.LIB. If
not, see <http://www.gnu.org/licenses/>. */
-#ifndef _BITS_LIBC_LOCK_H
-#define _BITS_LIBC_LOCK_H 1
+#ifndef _LIBC_LOCK_H
+#define _LIBC_LOCK_H 1
#include <pthread.h>
#define __need_NULL
@@ -184,4 +184,4 @@ extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer
# include "libc-lockP.h"
#endif
-#endif /* bits/libc-lock.h */
+#endif /* libc-lock.h */
similarity index 99%
rename from sysdeps/nptl/bits/libc-lockP.h
rename to sysdeps/nptl/libc-lockP.h
@@ -16,8 +16,8 @@
License along with the GNU C Library; see the file COPYING.LIB. If
not, see <http://www.gnu.org/licenses/>. */
-#ifndef _BITS_LIBC_LOCKP_H
-#define _BITS_LIBC_LOCKP_H 1
+#ifndef _LIBC_LOCKP_H
+#define _LIBC_LOCKP_H 1
#include <pthread.h>
#define __need_NULL
@@ -433,4 +433,4 @@ weak_extern (pthread_setcancelstate)
# endif
#endif
-#endif /* bits/libc-lockP.h */
+#endif /* libc-lockP.h */
@@ -23,7 +23,7 @@
#undef thread_atfork_static
#include <atomic.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
__libc_lock_define (typedef, mutex_t)
@@ -19,7 +19,7 @@
#ifndef _STDIO_LOCK_H
#define _STDIO_LOCK_H 1
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <lowlevellock.h>
@@ -20,7 +20,7 @@
#include <sys/types.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* Directory stream type.
@@ -58,7 +58,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/utsname.h>
#include <unistd.h>
#include <nsswitch.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <not-cancel.h>
#include <nscd/nscd-client.h>
#include <nscd/nscd_proto.h>
@@ -22,7 +22,7 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <sysdep-cancel.h>
@@ -34,7 +34,7 @@
#include <stdlib.h>
#include <sys/time.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <aio_misc.h>
@@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <dlfcn.h>
#include <execinfo.h>
#include <stddef.h>
@@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <dlfcn.h>
#include <execinfo.h>
#include <stddef.h>
@@ -32,7 +32,7 @@
#include <linux/rtnetlink.h>
#include <not-cancel.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <atomic.h>
#include <nscd/nscd-client.h>
@@ -24,7 +24,7 @@
#include <net/if.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <not-cancel.h>
#include "netlinkaccess.h"
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <utmp.h>
@@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <errno.h>
#include <stdlib.h>
#include <utmp.h>
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <utmp.h>
#include "utmp-compat.h"
@@ -24,7 +24,7 @@
#include <stdio.h>
#include <string.h>
#include <sys/statfs.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include "linux_fsinfo.h"
@@ -21,7 +21,7 @@
#include <sysdep.h>
#include <unistd.h>
#include <sys/wait.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* We have to and actually can handle cancelable system(). The big
problem: we have to kill the child process if necessary. To do
@@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <dlfcn.h>
#include <execinfo.h>
#include <stdlib.h>
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include "../locale/localeinfo.h"
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <wchar.h>
#include <string.h>
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include "../locale/localeinfo.h"
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdlib.h>
#include <wchar.h>
#include <string.h>
@@ -17,7 +17,7 @@
#include <ctype.h>
#include <errno.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
@@ -24,7 +24,7 @@
#include <locale/localeinfo.h>
#include <wcsmbsload.h>
-#include <bits/libc-lock.h>
+#include <libc-lock.h>
/* These are the descriptions for the default conversion functions. */