Replace __pid_t with pid_t.
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Apr 2011 14:26:13 +0000 (14:26 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Apr 2011 14:26:13 +0000 (14:26 +0000)
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.

bfd/ChangeLog
bfd/hosts/x86-64linux.h

index 7d65340..c745c2a 100644 (file)
@@ -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
index 27901c5..3bd2f8d 100644 (file)
@@ -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.  */