From 7e44a991736f5b26f035711bb9296a176722edaf Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 11 Jun 2008 14:30:39 +0200 Subject: [PATCH] src/collectd.h: Use `#pragma GCC poison' to disable evil functions. --- src/collectd.h | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.30.2