/* Machine independent support for SVR4 /proc (process file system) for GDB.
- Copyright (C) 1999-2015 Free Software Foundation, Inc.
+ Copyright (C) 1999-2020 Free Software Foundation, Inc.
This file is part of GDB.
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 */
/*
extern pid_t wait_with_trace (int *, char *, int);
extern int open_with_trace (char *, int, char *, int);
extern int close_with_trace (int, char *, int);
-extern void procfs_note (char *, char *, int);
+extern void procfs_note (const char *, const char *, int);
#ifdef PROCFS_TRACE
/*
/* 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 */