Fix tracepoint.c:parse_tracepoint_definition leak (and one more)
[deliverable/binutils-gdb.git] / gdb / proc-utils.h
index a0f7292ad08b46d52ef68b41549200da01489ff8..7cd83720bd7c2ec61cc8d57e90fd21e568e0e86a 100644 (file)
@@ -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.
 
@@ -88,7 +88,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 +112,4 @@ 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
This page took 0.024678 seconds and 4 git commands to generate.