From 64b8d39133a0c72de6e87f9436f07e089591a826 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 23 Mar 2006 11:17:41 +0000 Subject: Mark some functions as BSD only --- libc/stdlib/mkdtemp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/stdlib') diff --git a/libc/stdlib/mkdtemp.c b/libc/stdlib/mkdtemp.c index e1ece812f..20a2e16bc 100644 --- a/libc/stdlib/mkdtemp.c +++ b/libc/stdlib/mkdtemp.c @@ -21,6 +21,7 @@ #include #include "../misc/internals/tempname.h" +#ifdef __USE_BSD /* Generate a unique temporary directory name from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the filename unique. @@ -34,3 +35,4 @@ char * mkdtemp (char *template) return template; } +#endif -- cgit v1.2.3