about summary refs log tree commit diff
path: root/nptl/atomic.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-03 21:15:43 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-03 21:15:43 +0000
commit733f25e6d34d8ced182ffd6366d7914d56e71d98 (patch)
tree18b3f08bbfa7cf6c37e254df3824bb24be4c5d35 /nptl/atomic.h
parent686b7223d5e87538d8bc7eaf9581f4ad11d666f1 (diff)
downloadglibc-733f25e6d34d8ced182ffd6366d7914d56e71d98.tar.gz
glibc-733f25e6d34d8ced182ffd6366d7914d56e71d98.tar.xz
glibc-733f25e6d34d8ced182ffd6366d7914d56e71d98.zip
Update.
2003-01-03  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls):
	Add rtld_hidden_proto.
	* sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def.
	(_dl_allocate_tls): Likewise.  Remove INTDEF.
Diffstat (limited to 'nptl/atomic.h')
-rw-r--r--nptl/atomic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/atomic.h b/nptl/atomic.h
index 927e0fe5ac..0464705691 100644
--- a/nptl/atomic.h
+++ b/nptl/atomic.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -93,17 +93,17 @@
 
 
 #ifndef atomic_full_barrier
-# define full_barrier() __asm ("" ::: "memory")
+# define atomic_full_barrier() __asm ("" ::: "memory")
 #endif
 
 
 #ifndef atomic_read_barrier
-# define read_barrier() full_barrier()
+# define atomic_read_barrier() atomic_full_barrier()
 #endif
 
 
 #ifndef atomic_write_barrier
-# define write_barrier() full_barrier()
+# define atomic_write_barrier() atomic_full_barrier()
 #endif
 
 #endif	/* atomic.h */