]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/proc-utils.h
Fix TID parser bug
[thirdparty/binutils-gdb.git] / gdb / proc-utils.h
index 5ece8eea2359d4e3d6f11fad42051e059ffc2646..83514738dc46b2d759590cb704737fd8a2c5c631 100644 (file)
@@ -1,5 +1,5 @@
 /* Machine independent support for SVR4 /proc (process file system) for GDB.
-   Copyright (C) 1999-2017 Free Software Foundation, Inc.
+   Copyright (C) 1999-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -16,6 +16,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef PROC_UTILS_H
+#define PROC_UTILS_H
+
 /* From proc-why.c */
 
 /*
@@ -112,8 +115,6 @@ extern  void  procfs_note      (const char *, const char *, int);
 
 /* Define the type (and more importantly the width) of the control
    word used to write to the /proc/PID/ctl file.  */
-#if defined (PROC_CTL_WORD_TYPE)
-typedef PROC_CTL_WORD_TYPE procfs_ctl_t;
-#else
 typedef long procfs_ctl_t;
-#endif
+
+#endif /* PROC_UTILS_H */