summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-12-16 11:39:18 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-12-17 23:29:15 +0100
commitd290b052e19e56733236a48050950caa86b82a98 (patch)
tree7283a18e5ed59801257d5368863968d59db8ae92
parent0fe7ebb9cdb4b215ffaabac37610f94b1856b6ec (diff)
downloadsparse-d290b052e19e56733236a48050950caa86b82a98.tar.gz
show-parse: remove string_ctype from typenames
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>
-rw-r--r--show-parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/show-parse.c b/show-parse.c
index 36b44742..c73ee4dd 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" },