From 36ecbc6be227102eed47b8a61f8de46e322d70ec Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Sat, 16 Jun 2007 23:30:47 +0000 Subject: Add HAVE_STRNDUP and supporting structure to config.h and make utils.[ch] reflect it. svn path=/trunk/netsurf/; revision=3351 --- utils/utils.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'utils/utils.h') diff --git a/utils/utils.h b/utils/utils.h index d080bd018..502847836 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -59,10 +59,6 @@ const char *rfc1123_date(time_t t); char *strcasestr(const char *haystack, const char *needle); #endif unsigned int wallclock(void); -#ifdef __FreeBSD__ -/* FreeBSD lacks strndup */ -char *strndup(const char *s, size_t n); -#endif /* Platform specific functions */ void die(const char * const error); -- cgit v1.2.3