This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: PR binutils/12657: binutils use __pid_t instead of pid_t


Hi,

I am checking in this patch to replace __pid_t with pid_t.  Please
let me know if there are any problems.

Thanks.

H.J.
--
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7d65340..c745c2a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/12657
+	* hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with
+	pid_t.
+
 2011-04-08  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR ld/12654
diff --git a/bfd/hosts/x86-64linux.h b/bfd/hosts/x86-64linux.h
index 27901c5..3bd2f8d 100644
--- a/bfd/hosts/x86-64linux.h
+++ b/bfd/hosts/x86-64linux.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2006, 2011
+   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
@@ -153,10 +154,10 @@ struct elf_prstatus32
     short int pr_cursig;		/* Current signal.  */
     unsigned int pr_sigpend;		/* Set of pending signals.  */
     unsigned int pr_sighold;		/* Set of held signals.  */
-    __pid_t pr_pid;
-    __pid_t pr_ppid;
-    __pid_t pr_pgrp;
-    __pid_t pr_sid;
+    pid_t pr_pid;
+    pid_t pr_ppid;
+    pid_t pr_pgrp;
+    pid_t pr_sid;
     struct prstatus32_timeval pr_utime;		/* User time.  */
     struct prstatus32_timeval pr_stime;		/* System time.  */
     struct prstatus32_timeval pr_cutime;	/* Cumulative user time.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]