diff options
Diffstat (limited to 'gdb/proc-events.c')
-rw-r--r-- | gdb/proc-events.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/proc-events.c b/gdb/proc-events.c index 2353682..961d626 100644 --- a/gdb/proc-events.c +++ b/gdb/proc-events.c @@ -54,8 +54,8 @@ struct trans { int value; /* The numeric value. */ - char *name; /* The equivalent symbolic value. */ - char *desc; /* Short description of value. */ + const char *name; /* The equivalent symbolic value. */ + const char *desc; /* Short description of value. */ }; @@ -64,7 +64,7 @@ struct trans /* Syscall translation table. */ #define MAX_SYSCALLS 262 /* Pretty arbitrary. */ -static char *syscall_table[MAX_SYSCALLS]; +static const char *syscall_table[MAX_SYSCALLS]; static void init_syscall_table (void) |