X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.h;h=277a610fe75a62e3c20bf90fd1df509d6afd1514;hb=5b3501f518402d731014dad4d9ff10668e6fd5c6;hp=6fed9002e02713d6ce59e13ea5840d207cd2acc0;hpb=d3fc6d0831a63af2e96300f488a9f8f5fc3183fb;p=collectd.git diff --git a/src/collectd.h b/src/collectd.h index 6fed9002..277a610f 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -255,6 +255,9 @@ #endif #if defined(COLLECT_DEBUG) && COLLECT_DEBUG && defined(__GNUC__) && __GNUC__ +# undef strcpy +# undef strcat +# undef strtok # pragma GCC poison strcpy strcat strtok #endif @@ -266,6 +269,7 @@ */ #ifndef DONT_POISON_SPRINTF_YET # if defined(COLLECT_DEBUG) && COLLECT_DEBUG && defined(__GNUC__) && __GNUC__ +# undef sprintf # pragma GCC poison sprintf # endif #endif