--- /dev/null
+#include "pthread_impl.h"
+
+int pthread_barrierattr_destroy(pthread_barrierattr_t *a)
+{
+ return 0;
+}
--- /dev/null
+#include "pthread_impl.h"
+
+int pthread_barrierattr_getpshared(const pthread_barrierattr_t *a, int *pshared)
+{
+ *pshared = *a;
+ return 0;
+}
--- /dev/null
+#include "pthread_impl.h"
+
+int pthread_barrierattr_init(pthread_barrierattr_t *a)
+{
+ memset(a, 0, sizeof *a);
+ return 0;
+}
--- /dev/null
+#include "pthread_impl.h"
+
+int pthread_barrierattr_setpshared(pthread_barrierattr_t *a, int pshared)
+{
+ *a = !!pshared;
+ return 0;
+}