--- warzone2100-2.1.0/lib/framework/strlfuncs.h.orig 2008-12-21 20:41:15 +0200 +++ warzone2100-2.1.0/lib/framework/strlfuncs.h 2008-12-22 17:52:23 +0200 @@ -21,7 +21,7 @@ #include #include #include - +#if 0 /** * A safer variant of \c strncpy and its completely unsafe variant \c strcpy. * Copy src to string dst of size siz. At most siz-1 characters @@ -105,7 +105,7 @@ return(dlen + (s - src)); /* count does not include NUL */ } - +#endif /* Static array versions of common string functions. Safer because one less parameter to screw up. * Can only be used on strings longer than the length of a pointer, because we use this for debugging. */ #ifndef DEBUG