aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index c637a09..71b7cd2 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -271,9 +271,10 @@ struct cleanup
void *arg;
};
-/* vec.h-style vectors of strings want a typedef for char * . */
+/* vec.h-style vectors of strings want a typedef for char * or const char *. */
typedef char * char_ptr;
+typedef const char * const_char_ptr;
/* Needed for various prototypes */