diff options
author | Ollivier Robert <roberto@FreeBSD.org> | 2002-10-29 19:58:12 +0000 |
---|---|---|
committer | Ollivier Robert <roberto@FreeBSD.org> | 2002-10-29 19:58:12 +0000 |
commit | ce265a549db8baf2b7fc2b171e9cc511a6d7552d (patch) | |
tree | daab9e5ccc14bec1f0fee71e35464e6040c6756f /contrib/ntp/libntp/strdup.c | |
parent | 224ba2bd37e182b64f7d78defef8a6cacaad3415 (diff) | |
download | src-ce265a549db8baf2b7fc2b171e9cc511a6d7552d.tar.gz src-ce265a549db8baf2b7fc2b171e9cc511a6d7552d.zip |
Virgin import of ntpd 4.1.1a
Notes
Notes:
svn path=/vendor/ntp/dist/; revision=106163
Diffstat (limited to 'contrib/ntp/libntp/strdup.c')
-rw-r--r-- | contrib/ntp/libntp/strdup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/ntp/libntp/strdup.c b/contrib/ntp/libntp/strdup.c index 08ffc2ff031e..2e26ba7a51e4 100644 --- a/contrib/ntp/libntp/strdup.c +++ b/contrib/ntp/libntp/strdup.c @@ -1,6 +1,11 @@ +#include "ntp_malloc.h" + +#if !HAVE_STRDUP #define NULL 0 +char *strdup(const char *s); + char * strdup( const char *s @@ -18,3 +23,6 @@ strdup( } return(cp); } +#else +int strdup_bs; +#endif |