X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fproc-utils.h;h=83514738dc46b2d759590cb704737fd8a2c5c631;hb=9aa5520697ee3b65bfbb705c21c2dfb2c0dee12e;hp=d765780a049c019590e0c70847e9d27a4004d0d7;hpb=32d0add0a654c1204ab71dc8a55d9374538c4b33;p=external%2Fbinutils.git diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h index d765780..8351473 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-2015 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 */