[4/6] show-parse: remove string_ctype from typenames
diff mbox series

Message ID 20181216172151.1361-5-luc.vanoostenryck@gmail.com
State Mainlined, archived
Headers show
Series
  • small improvements of show_typename()
Related show

Commit Message

Luc Van Oostenryck Dec. 16, 2018, 5:21 p.m. UTC
Currently, a string_ctype (only used for the declaration of
builtin functions) is displayed as "string", not "char *".

Fix this by removing the entry for string_ctype from typenames[]
which should only contains the name of base types.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 show-parse.c | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox series

diff --git a/show-parse.c b/show-parse.c
index 36b447421..c73ee4dd1 100644
--- a/show-parse.c
+++ b/show-parse.c
@@ -248,7 +248,6 @@  static struct ctype_name {
 
 	{ &void_ctype,   "void" },
 	{ &bool_ctype,   "bool" },
-	{ &string_ctype, "string" },
 
 	{ &float_ctype,  "float" },
 	{ &double_ctype, "double" },