diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-28 08:15:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-28 08:15:06 +0000 |
commit | 4a2c99757bc813c3e861da7e0c80104c8e7495e6 (patch) | |
tree | 9b40fd33c36e2053b8f44d98db258b57804b1889 | |
parent | eb6c0470932bdfcf0983365cef70849b5f4c97ea (diff) | |
download | glibc-4a2c99757bc813c3e861da7e0c80104c8e7495e6.tar glibc-4a2c99757bc813c3e861da7e0c80104c8e7495e6.tar.gz glibc-4a2c99757bc813c3e861da7e0c80104c8e7495e6.tar.bz2 glibc-4a2c99757bc813c3e861da7e0c80104c8e7495e6.zip |
Update.
2001-01-28 Ulrich Drepper <drepper@redhat.com>
* posix/sched.h: Define sched_priority as __sched_priority.
* sysdeps/generic/bits/sched.h (struct sched_param): Rename element
to __sched_priority.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | bits/sched.h | 4 | ||||
-rw-r--r-- | posix/sched.h | 5 | ||||
-rw-r--r-- | sysdeps/generic/bits/sched.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/sched.h | 6 |
5 files changed, 18 insertions, 8 deletions
@@ -1,3 +1,10 @@ +2001-01-28 Ulrich Drepper <drepper@redhat.com> + + * posix/sched.h: Define sched_priority as __sched_priority. + * sysdeps/generic/bits/sched.h (struct sched_param): Rename element + to __sched_priority. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + 2001-01-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead diff --git a/bits/sched.h b/bits/sched.h index 0c246c8f9a..17e8f84817 100644 --- a/bits/sched.h +++ b/bits/sched.h @@ -1,6 +1,6 @@ /* Definitions of constants and data structure for POSIX 1003.1b-1993 scheduling interface. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,5 +31,5 @@ /* Data structure to describe a process' schedulability. */ struct sched_param { - int sched_priority; + int __sched_priority; }; diff --git a/posix/sched.h b/posix/sched.h index 01db91cdfe..6df298ba4f 100644 --- a/posix/sched.h +++ b/posix/sched.h @@ -1,5 +1,5 @@ /* Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface. - Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,6 +30,9 @@ /* Get system specific constant and data structure definitions. */ #include <bits/sched.h> +/* Define the real names for the elements of `struct sched_param'. */ +#define sched_priority __sched_priority + __BEGIN_DECLS diff --git a/sysdeps/generic/bits/sched.h b/sysdeps/generic/bits/sched.h index 0c246c8f9a..17e8f84817 100644 --- a/sysdeps/generic/bits/sched.h +++ b/sysdeps/generic/bits/sched.h @@ -1,6 +1,6 @@ /* Definitions of constants and data structure for POSIX 1003.1b-1993 scheduling interface. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,5 +31,5 @@ /* Data structure to describe a process' schedulability. */ struct sched_param { - int sched_priority; + int __sched_priority; }; diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h index 4cdead4dbe..e2c21b0531 100644 --- a/sysdeps/unix/sysv/linux/bits/sched.h +++ b/sysdeps/unix/sysv/linux/bits/sched.h @@ -1,6 +1,6 @@ /* Definitions of constants and data structure for POSIX 1003.1b-1993 scheduling interface. - Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -46,7 +46,7 @@ /* The official definition. */ struct sched_param { - int sched_priority; + int __sched_priority; }; __BEGIN_DECLS @@ -67,7 +67,7 @@ __END_DECLS /* Data structure to describe a process' schedulability. */ struct __sched_param { - int sched_priority; + int __sched_priority; }; # undef __need_schedparam #endif |