Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libposix h_macros need strlcat and random ugh, ple...
details: https://anonhg.NetBSD.org/src/rev/775e52c7cd3d
branches: trunk
changeset: 765017:775e52c7cd3d
user: christos <christos%NetBSD.org@localhost>
date: Mon May 16 00:03:36 2011 +0000
description:
h_macros need strlcat and random ugh, please someone remove this header.
define _NETBSD_SOURCE so those are defined.
diffstat:
tests/lib/libposix/t_rename.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 8d65f1b1ca49 -r 775e52c7cd3d tests/lib/libposix/t_rename.c
--- a/tests/lib/libposix/t_rename.c Sun May 15 23:59:03 2011 +0000
+++ b/tests/lib/libposix/t_rename.c Mon May 16 00:03:36 2011 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index