summaryrefslogtreecommitdiff
path: root/nptl/tst-mutex6.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-24 21:43:33 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-24 21:43:33 -0400
commit485683c35f020bd8b926e9673adb9b748380e8ce (patch)
tree5214339ad75335cf2147ff1a6635dc7bd360be5c /nptl/tst-mutex6.c
parenta0cf1edd4cf2b3bf1ec2f772b47c8eaafd899383 (diff)
Remove warnings in NPTL tests
Diffstat (limited to 'nptl/tst-mutex6.c')
-rw-r--r--nptl/tst-mutex6.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/tst-mutex6.c b/nptl/tst-mutex6.c
index de64bdb435..19611ee94b 100644
--- a/nptl/tst-mutex6.c
+++ b/nptl/tst-mutex6.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -25,7 +25,8 @@
#ifndef ATTR
-# define ATTR NULL
+pthread_mutexattr_t *attr;
+# define ATTR attr
#endif