+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
/* 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
/* Data structure to describe a process' schedulability. */
struct sched_param
{
- int sched_priority;
+ int __sched_priority;
};
/* 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
/* 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
/* 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
/* Data structure to describe a process' schedulability. */
struct sched_param
{
- int sched_priority;
+ int __sched_priority;
};
/* 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
/* The official definition. */
struct sched_param
{
- int sched_priority;
+ int __sched_priority;
};
__BEGIN_DECLS
/* Data structure to describe a process' schedulability. */
struct __sched_param
{
- int sched_priority;
+ int __sched_priority;
};
# undef __need_schedparam
#endif