summaryrefslogtreecommitdiff
path: root/nptl/descr.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-07-08 09:10:42 +0000
committerJakub Jelinek <jakub@redhat.com>2005-07-08 09:10:42 +0000
commit48f006fc656c70757103dc9efa92d5775717576b (patch)
tree49d57e1205b93471c3245fceab5dd5ac31ba743d /nptl/descr.h
parent03d65262fdcc287ef8b691c7dff2f1a63cdd13c2 (diff)
Updated to fedora-glibc-20050708T0811
Diffstat (limited to 'nptl/descr.h')
-rw-r--r--nptl/descr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nptl/descr.h b/nptl/descr.h
index 454bb2a547..77251d5e45 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -254,6 +254,13 @@ struct pthread
/* Resolver state. */
struct __res_state res;
+
+ /* If you add fields after the res field above, please adjust
+ the following macro. */
+#define PTHREAD_STRUCT_END_PADDING \
+ (sizeof (struct pthread) - offsetof (struct pthread, res) \
+ - sizeof (((struct pthread *) 0)->res))
+
} __attribute ((aligned (TCB_ALIGNMENT)));