aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-utils.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-04-05 19:21:37 +0100
committerPedro Alves <palves@redhat.com>2017-04-05 19:21:37 +0100
commit995816ba55d952b2823d2ead66495c5cad6dfe58 (patch)
treed2d9a758f0156e7589f4f6be87a483e8fe3cd6f4 /gdb/proc-utils.h
parent3e83a920090130052a407621b94b94513f539fda (diff)
downloadgdb-995816ba55d952b2823d2ead66495c5cad6dfe58.zip
gdb-995816ba55d952b2823d2ead66495c5cad6dfe58.tar.gz
gdb-995816ba55d952b2823d2ead66495c5cad6dfe58.tar.bz2
-Wwrite-strings: More Solaris
Some obvious constifications found by attempting to build 64-bit GDB on Solaris 11. gdb/ChangeLog: 2017-04-05 Pedro Alves <palves@redhat.com> * proc-api.c (struct trans): Constify. (procfs_note): Constify. * proc-events.c (struct trans, syscall_table): * proc-flags.c (struct trans): Constify. * proc-utils.h (procfs_note): Constify. * proc-why.c (struct trans): Constify. * procfs.c (dead_procinfo, find_syscall, proc_warn, proc_error) (procfs_detach): Constify. * sol-thread.c (struct string_map): Constify. (td_err_string, td_state_string): Constify.
Diffstat (limited to 'gdb/proc-utils.h')
-rw-r--r--gdb/proc-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h
index d481041..5ece8ee 100644
--- a/gdb/proc-utils.h
+++ b/gdb/proc-utils.h
@@ -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
/*