Constify add_com_suppress_notification
[deliverable/binutils-gdb.git] / gdb / proc-events.c
index 2353682103d119de84d805859a2d0cb127c9bfd7..9d3233e611e352a41c9eb19685ec55550bebfec3 100644 (file)
@@ -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.  */
 };
 \f
 
@@ -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)
@@ -1716,10 +1716,6 @@ void
 proc_prettyprint_actionset (struct sigaction *actions, int verbose)
 {
 }
-\f
-
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-void _initialize_proc_events (void);
 
 void
 _initialize_proc_events (void)
This page took 0.02525 seconds and 4 git commands to generate.