diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-29 00:14:58 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-29 08:52:55 -0600 |
commit | 4f7deebe0c56863f0c97edfe9ac9931dfdfc8f0a (patch) | |
tree | e91e35b6ad265586cdc400d553a74b1edeb28fcb /gdb | |
parent | fe1658217f3f55c5fb2943715536302ff170e952 (diff) | |
download | gdb-4f7deebe0c56863f0c97edfe9ac9931dfdfc8f0a.zip gdb-4f7deebe0c56863f0c97edfe9ac9931dfdfc8f0a.tar.gz gdb-4f7deebe0c56863f0c97edfe9ac9931dfdfc8f0a.tar.bz2 |
Remove const_char_ptr typedef
The const_char_ptr is no longer used, so it can be removed.
ChangeLog
2018-05-29 Tom Tromey <tom@tromey.com>
* objc-lang.h: Don't include cp-support.h.
* common/gdb_vecs.h (const_char_ptr): Remove typedef. Don't
declare VEC.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/common/gdb_vecs.h | 4 | ||||
-rw-r--r-- | gdb/objc-lang.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98fb955..4a9ca2e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-05-29 Tom Tromey <tom@tromey.com> + + * objc-lang.h: Don't include cp-support.h. + * common/gdb_vecs.h (const_char_ptr): Remove typedef. Don't + declare VEC. + 2018-05-27 Tom Tromey <tom@tromey.com> * Makefile.in (DEPFILES): Don't reference REMOTE_OBS. diff --git a/gdb/common/gdb_vecs.h b/gdb/common/gdb_vecs.h index 3e461dc..8bafd0d 100644 --- a/gdb/common/gdb_vecs.h +++ b/gdb/common/gdb_vecs.h @@ -22,10 +22,6 @@ #include "vec.h" -typedef const char *const_char_ptr; - -DEF_VEC_P (const_char_ptr); - /* Split STR, a list of DELIMITER-separated fields, into a char pointer vector. You may modify the returned strings. */ diff --git a/gdb/objc-lang.h b/gdb/objc-lang.h index d3ed1d5..2281c61 100644 --- a/gdb/objc-lang.h +++ b/gdb/objc-lang.h @@ -20,8 +20,6 @@ #if !defined(OBJC_LANG_H) #define OBJC_LANG_H -#include "cp-support.h" /* For VEC (const_char_ptr) */ - struct stoken; struct value; |