/* pthread_getattr_np test.
- Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
ap = &a2;
err = pthread_attr_init (ap);
if (err)
- {
- error (0, err, "pthread_attr_init failed");
- return tf;
- }
+ {
+ error (0, err, "pthread_attr_init failed");
+ return tf;
+ }
}
else
ap = (pthread_attr_t *) arg;
result = 1;
}
else if (ret != NULL)
- result = 1;
+ result = 1;
}
err = pthread_attr_init (&a);
result = 1;
}
else if (ret != NULL)
- result = 1;
+ result = 1;
}
err = pthread_attr_setguardsize (&a, 16 * sysconf (_SC_PAGESIZE));
result = 1;
}
else if (ret != NULL)
- result = 1;
+ result = 1;
}
err = pthread_attr_destroy (&a);