aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/gdb_vecs.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-04-01 14:23:17 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2018-04-01 14:23:17 -0400
commitec1f2d91e07522a77cbef7a438e132ff4a2a7839 (patch)
tree7e502ea33618a8e60e6226349421bc129807c756 /gdb/common/gdb_vecs.h
parenta16ffec0da37082ed80116a7afb1971eec9b8842 (diff)
downloadgdb-ec1f2d91e07522a77cbef7a438e132ff4a2a7839.zip
gdb-ec1f2d91e07522a77cbef7a438e132ff4a2a7839.tar.gz
gdb-ec1f2d91e07522a77cbef7a438e132ff4a2a7839.tar.bz2
Remove char_ptr typedef
Now that all instances of VEC(char_ptr) are gone, we can remove the typedef. There is just one usage left, that is trivial to replace. Tested by rebuilding on an enable-targets=all build. gdb/ChangeLog: * common/gdb_vecs.h (char_ptr): Remove. * tracepoint.c (encode_actions_1): Remove usage of char_ptr.
Diffstat (limited to 'gdb/common/gdb_vecs.h')
-rw-r--r--gdb/common/gdb_vecs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/common/gdb_vecs.h b/gdb/common/gdb_vecs.h
index 8bb7015..141d05e 100644
--- a/gdb/common/gdb_vecs.h
+++ b/gdb/common/gdb_vecs.h
@@ -22,7 +22,6 @@
#include "vec.h"
-typedef char *char_ptr;
typedef const char *const_char_ptr;
DEF_VEC_P (const_char_ptr);