From baf55ae694d01fbdf41b7cccda8818f2f1b00d0d Mon Sep 17 00:00:00 2001 From: traw <2088753+traw@users.noreply.github.com> Date: Thu, 10 May 2018 03:50:05 +0530 Subject: [PATCH] =?UTF-8?q?Fix/=20conflicting=20declaration=20of=20C=20fun?= =?UTF-8?q?ction=20=E2=80=98char*=20strdup(char*)=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error: conflicting declaration of C function ‘char* strdup(char*)’ --- src/util/libekr/r_common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/libekr/r_common.h b/src/util/libekr/r_common.h index 649b1fb..86ea4e7 100644 --- a/src/util/libekr/r_common.h +++ b/src/util/libekr/r_common.h @@ -92,9 +92,9 @@ #include "r_data.h" /* defines for possibly replaced functions */ -#ifndef HAVE_STRDUP -char *strdup(char *in); -#endif +//#ifndef HAVE_STRDUP +//char *strdup(char *in); +//#endif #endif