From 6417a1d149748600af24484d8baa3e1d648b3d3c Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Thu, 26 Sep 2019 04:43:51 +0900 Subject: [PATCH] fixup! main: make the second argument for makePtagIfEnabled read only --- main/writer-json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/writer-json.c b/main/writer-json.c index e3b85a6625..2b8975ec82 100644 --- a/main/writer-json.c +++ b/main/writer-json.c @@ -260,7 +260,7 @@ tagWriter jsonWriter = { .defaultFileName = "-", }; -extern bool ptagMakeJsonOutputVersion (ptagDesc *desc, void *data CTAGS_ATTR_UNUSED) +extern bool ptagMakeJsonOutputVersion (ptagDesc *desc, const void *data CTAGS_ATTR_UNUSED) { return false; }