From 0654d23ffbbfdbbad74270ba11530f663a96ac7b Mon Sep 17 00:00:00 2001
From: Dirk Zimoch <dirk.zimoch@psi.ch>
Date: Thu, 25 Oct 2018 09:04:54 +0200
Subject: [PATCH] remove warning in 3.16+

---
 dbLoadTemplate.y | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dbLoadTemplate.y b/dbLoadTemplate.y
index 648a0109..04cd2026 100644
--- a/dbLoadTemplate.y
+++ b/dbLoadTemplate.y
@@ -46,6 +46,10 @@ extern void dbLoadRecords(const char*, const char*);
 #define dbmfStrdup(s) strcpy(dbmfMalloc(strlen((char*)(s))+1),(char*)(s))
 #endif
 
+#if (EPICS_VERSION*10000+EPICS_REVISION*100+EPICS_MODIFICATION>=31600)
+#define dbmfStrdup(s) dbmfStrdup((char*)s) 
+#endif
+
 static int line_num;
 static int yyerror(char* str);
 
-- 
GitLab