* sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
* sysdeps/mach/hurd/Makefile (includes): Add
-I$(common-objpfx)hurd/. Reported by Marcus Daniels.
Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+ * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
+ * sysdeps/mach/hurd/Makefile (includes): Add
+ -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
+
* sysdeps/generic/schedbits.h (struct sched_param): Renamed from
struct sched_params.
* sysdeps/stub/sched_setp.c (__sched_setparam): struct
#define SCHED_RR 2
/* Data structure to describe a process' schedulability. */
-struct sched_params
+struct sched_param
{
int sched_priority;
};
ifdef in-Makerules
# Look for header files in mach/ under the top-level library source directory.
-includes += -I$(..)mach
+# Look for generated header files where they get created.
+includes += -I$(..)mach -I$(common-objpfx)mach/
ifneq (mach,$(subdir))
# Subdirectories other than mach/ might use the generated Mach headers.
subdirs := $(filter-out sunrpc,$(subdirs)) # XXX skip broken dirs
# Look for header files in hurd/ under the top-level library source directory.
-includes += -I$(..)hurd
+# Look for generated header files where they get created.
+includes += -I$(..)hurd -I$(common-objpfx)hurd/
# Do not use any assembly code from sysdeps/unix (and subdirectories).
# This bypasses all the system call stubs and uses any existing posix or
/* Retrieve scheduling parameters for a particular process. */
int
-__sched_getparam (pid_t pid, struct sched_params *param)
+__sched_getparam (pid_t pid, struct sched_param *param)
{
errno = ENOSYS;
return -1;
/* Set scheduling parameters for a process. */
int
-__sched_setparam (pid_t pid, const struct sched_params *param)
+__sched_setparam (pid_t pid, const struct sched_param *param)
{
errno = ENOSYS;
return -1;
/* Set scheduling algorithm and/or parameters for a process. */
int
-__sched_setscheduler (pid_t pid, int policy, const struct sched_params *param)
+__sched_setscheduler (pid_t pid, int policy, const struct sched_param *param)
{
errno = ENOSYS;
return -1;