[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Debian GNU Hurd packaging branch, libpthread, updated. upstream/li
From: |
Samuel Thibault |
Subject: |
[SCM] Debian GNU Hurd packaging branch, libpthread, updated. upstream/libpthread/20100701-3-ga6bb8f8 |
Date: |
Thu, 02 Sep 2010 23:08:58 +0000 |
The following commit has been merged in the libpthread branch:
commit 196ed7b4829c8a2f1550aaea7987a52fb40f8ba9
Author: Samuel Thibault <address@hidden>
Date: Thu Sep 2 03:59:40 2010 +0200
Use __sched_param instead of sched_param
to avoid exposing inclusion of <sched.h> and exposure of sched_param from
<sys/types.h>
* sysdeps/generic/bits/thread-attr.h: Define __need_schedparam and
include <bits/sched.h> instead of including <sched.h>
(__pthread_attr): Use `__sched_param' instead of `sched_param'.
diff --git a/sysdeps/generic/bits/thread-attr.h
b/sysdeps/generic/bits/thread-attr.h
index c3a93fd..f2e55f2 100644
--- a/sysdeps/generic/bits/thread-attr.h
+++ b/sysdeps/generic/bits/thread-attr.h
@@ -20,7 +20,8 @@
#ifndef _BITS_THREAD_ATTR_H
#define _BITS_THREAD_ATTR_H 1
-#include <sched.h>
+#define __need_schedparam
+#include <bits/sched.h>
enum __pthread_detachstate;
enum __pthread_inheritsched;
@@ -30,7 +31,7 @@ enum __pthread_contentionscope;
that not all of them are supported on all systems. */
struct __pthread_attr
{
- struct sched_param schedparam;
+ struct __sched_param schedparam;
void *stackaddr;
size_t stacksize;
size_t guardsize;
--
Debian GNU Hurd packaging