X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fproc-utils.h;h=83514738dc46b2d759590cb704737fd8a2c5c631;hb=e9224f6d80ea35e90a61d44575f12b26742eaaf3;hp=a462d6e1d882eab3fa921eda348ffbf6a99f9e61;hpb=a0911fd0206cb727a3fd2f9b1227121bdd616838;p=external%2Fbinutils.git diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h index a462d6e..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-2000, 2007-2012 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 */