]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove const_char_ptr typedef
authorTom Tromey <tom@tromey.com>
Tue, 29 May 2018 06:14:58 +0000 (00:14 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 29 May 2018 14:52:55 +0000 (08:52 -0600)
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.

gdb/ChangeLog
gdb/common/gdb_vecs.h
gdb/objc-lang.h

index 98fb9551269dcd6181a250702405f71bd971f354..4a9ca2e863500633836625d7fdd872447e1cb3e4 100644 (file)
@@ -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.
index 3e461dca48388556bbf65588d601fcf6cb7e4a00..8bafd0dd6a42d8e2ed7aaaf3b33354a21322970d 100644 (file)
 
 #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.  */
index d3ed1d5fa6376197d76a48c772c30a041ad1bdb1..2281c614968f39b7ce01a18e46720dd87722bfc4 100644 (file)
@@ -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;