[Glibc-bsd-commits] r4600 - trunk/glibc-ports/kfreebsd/bits

rmh at alioth.debian.org rmh at alioth.debian.org
Mon Jul 8 12:43:23 UTC 2013


Author: rmh
Date: 2013-06-24 00:34:53 +0000 (Mon, 24 Jun 2013)
New Revision: 4600

Modified:
   trunk/glibc-ports/kfreebsd/bits/siginfo.h
Log:
Use __pid_t and __uid_t like upstream <sys/signal.h>, instead of hardcoding their types.

Modified: trunk/glibc-ports/kfreebsd/bits/siginfo.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/siginfo.h	2013-06-23 20:00:53 UTC (rev 4599)
+++ trunk/glibc-ports/kfreebsd/bits/siginfo.h	2013-06-24 00:34:53 UTC (rev 4600)
@@ -39,14 +39,16 @@
      && (defined _SIGNAL_H || defined __need_siginfo_t))
 # define __have_siginfo_t	1
 
+#include <bits/types.h>		/* __pid_t, __uid_t */
+
 typedef struct siginfo
   {
     int si_signo;		/* Signal number.  */
     int si_errno;		/* If non-zero, an errno value associated with
 				   this signal, as defined in <errno.h>.  */
     int si_code;		/* Signal code.  */
-    int si_pid;			/* Sending process ID.  */
-    unsigned int si_uid;	/* Real user ID of sending process.  */
+    __pid_t si_pid;		/* Sending process ID.  */
+    __uid_t si_uid;		/* Real user ID of sending process.  */
     int si_status;		/* Exit value or signal.  */
     void *si_addr;		/* Address of faulting instruction.  */
     union sigval si_value;	/* Signal value.  */




More information about the Glibc-bsd-commits mailing list