X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fproc-utils.h;h=83514738dc46b2d759590cb704737fd8a2c5c631;hb=bbde7025e0d5629e309c15af5a07bac272e21b07;hp=a0f7292ad08b46d52ef68b41549200da01489ff8;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h index a0f7292ad0..83514738dc 100644 --- a/gdb/proc-utils.h +++ b/gdb/proc-utils.h @@ -1,5 +1,5 @@ /* Machine independent support for SVR4 /proc (process file system) for GDB. - Copyright (C) 1999-2013 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 . */ +#ifndef PROC_UTILS_H +#define PROC_UTILS_H + /* From proc-why.c */ /* @@ -88,7 +91,7 @@ extern int ioctl_with_trace (int, long, void *, char *, int); 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 /* @@ -112,8 +115,6 @@ extern void procfs_note (char *, 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 */