summaryrefslogtreecommitdiff
path: root/lib/regex_internal.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-09 23:42:26 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-09 23:42:26 +0000
commit93f90065f31c35780e2dc3d6b7c987677d9bc14e (patch)
treeba198c539d289ba716e4de9f420e58a61e214a84 /lib/regex_internal.h
parentd24265f9659d21c8e89f1f21cf3b774c7c120afe (diff)
downloadcoreutils-93f90065f31c35780e2dc3d6b7c987677d9bc14e.tar.xz
Sync from gnulib.
Diffstat (limited to 'lib/regex_internal.h')
-rw-r--r--lib/regex_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/regex_internal.h b/lib/regex_internal.h
index 993c9923e..06f89a47f 100644
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -49,7 +49,6 @@
#if defined _LIBC
# include <bits/libc-lock.h>
#else
-# define __libc_lock_define(CLASS,NAME)
# define __libc_lock_init(NAME) do { } while (0)
# define __libc_lock_lock(NAME) do { } while (0)
# define __libc_lock_unlock(NAME) do { } while (0)
@@ -711,7 +710,9 @@ struct re_dfa_t
#ifdef DEBUG
char* re_str;
#endif
+#ifdef _LIBC
__libc_lock_define (, lock)
+#endif
};
#define re_node_set_init_empty(set) memset (set, '\0', sizeof (re_node_set))