diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2012-05-10 14:50:14 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-05-10 15:57:24 -0700 |
commit | be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e (patch) | |
tree | 6b30a52fdbc036f34167cb1cbf1236a0e792d022 /bits | |
parent | 37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca (diff) | |
download | glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.tar glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.tar.gz glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.tar.bz2 glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.zip |
Hurd: libc_once_get
Diffstat (limited to 'bits')
-rw-r--r-- | bits/libc-lock.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bits/libc-lock.h b/bits/libc-lock.h index 4f0029fa2b..d7c49e7bb5 100644 --- a/bits/libc-lock.h +++ b/bits/libc-lock.h @@ -1,5 +1,5 @@ /* libc-internal interface for mutex locks. Stub version. - Copyright (C) 1996,97,99,2000-2002,2003 Free Software Foundation, Inc. + Copyright (C) 1996-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -97,6 +97,9 @@ } \ } while (0) +/* Get once control variable. */ +#define __libc_once_get(ONCE_CONTROL) \ + ((ONCE_CONTROL) == 1) /* Start a critical region with a cleanup function */ #define __libc_cleanup_region_start(DOIT, FCT, ARG) \ |