This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.11-116-g25fdd5d
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 12 Jan 2010 19:48:58 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.11-116-g25fdd5d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 25fdd5d1347767f0b90aed1990cc835a75daabf9 (commit)
from f9a97ddaff5c2bbb6c27b793ca930197db525790 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=25fdd5d1347767f0b90aed1990cc835a75daabf9
commit 25fdd5d1347767f0b90aed1990cc835a75daabf9
Author: Ulrich Drepper <drepper@redhat.com>
Date: Tue Jan 12 11:48:45 2010 -0800
Fix up sched.h for XPG7.
diff --git a/ChangeLog b/ChangeLog
index 126f758..6e524cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-12 Ulrich Drepper <drepper@redhat.com>
+
+ * posix/sched.h: Define time_t and pid_t for XPG7.
+
2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/i386/i686/bcopy.S: New file.
diff --git a/posix/sched.h b/posix/sched.h
index e95c80f..55bc487 100644
--- a/posix/sched.h
+++ b/posix/sched.h
@@ -1,5 +1,6 @@
/* Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface.
- Copyright (C) 1996,1997,1999,2001-2004,2007 Free Software Foundation, Inc.
+ Copyright (C) 1996,1997,1999,2001-2004,2007,2010
+ 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
@@ -28,9 +29,16 @@
#define __need_size_t
#include <stddef.h>
+#define __need_time_t
#define __need_timespec
#include <time.h>
+#ifndef __pid_t_defined
+typedef __pid_t pid_t;
+# define __pid_t_defined
+#endif
+
+
/* Get system specific constant and data structure definitions. */
#include <bits/sched.h>
/* Define the real names for the elements of `struct sched_param'. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
posix/sched.h | 10 +++++++++-
2 files changed, 13 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources