X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fproc-utils.h;h=c0fc1353d533951613e42c67d901d145fe020482;hb=abb78b78c4184d2ac968362229adae268385a21c;hp=d481041ec2a2a733bd08ff46ee5faee154bc25d0;hpb=61baf725eca99af2569262d10aca03dcde2698f6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h index d481041ec2..c0fc1353d5 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-2017 Free Software Foundation, Inc. + Copyright (C) 1999-2020 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 */