From: Florian Forster Date: Wed, 11 Jun 2008 12:30:39 +0000 (+0200) Subject: src/collectd.h: Use `#pragma GCC poison' to disable evil functions. X-Git-Tag: collectd-4.4.2~10^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7e44a991736f5b26f035711bb9296a176722edaf;p=collectd.git src/collectd.h: Use `#pragma GCC poison' to disable evil functions. --- diff --git a/src/collectd.h b/src/collectd.h index 0ccf5336..337da46f 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -250,6 +250,10 @@ # define __attribute__(x) /**/ #endif +#if __GNUC__ +# pragma GCC poison strcpy strcat sprintf strtok +#endif + extern char hostname_g[]; extern int interval_g;