Module Name:    src
Committed By:   christos
Date:           Mon May 16 00:03:36 UTC 2011

Modified Files:
        src/tests/lib/libposix: t_rename.c

Log Message:
h_macros need strlcat and random ugh, please someone remove this header.
define _NETBSD_SOURCE so those are defined.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libposix/t_rename.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libposix/t_rename.c
diff -u src/tests/lib/libposix/t_rename.c:1.1 src/tests/lib/libposix/t_rename.c:1.2
--- src/tests/lib/libposix/t_rename.c:1.1	Fri Jul 16 09:56:31 2010
+++ src/tests/lib/libposix/t_rename.c	Sun May 15 20:03:36 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_rename.c,v 1.1 2010/07/16 13:56:31 jmmv Exp $ */
+/* $NetBSD: t_rename.c,v 1.2 2011/05/16 00:03:36 christos Exp $ */
 
 /*
  * Copyright (c) 2001, 2008, 2010 The NetBSD Foundation, Inc.
@@ -25,11 +25,11 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-
+#define _NETBSD_SOURCE	/* strlcat/random */
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2008, 2010\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_rename.c,v 1.1 2010/07/16 13:56:31 jmmv Exp $");
+__RCSID("$NetBSD: t_rename.c,v 1.2 2011/05/16 00:03:36 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/stat.h>

Reply via email to