Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/sys PR/51856: Ngie Cooper: add limits.h for I...
details: https://anonhg.NetBSD.org/src/rev/ac9e6cf14a7b
branches: trunk
changeset: 350564:ac9e6cf14a7b
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 13 20:44:45 2017 +0000
description:
PR/51856: Ngie Cooper: add limits.h for INT_MAX
diffstat:
tests/lib/libc/sys/t_msgctl.c | 5 +++--
tests/lib/libc/sys/t_msgrcv.c | 5 +++--
tests/lib/libc/sys/t_msgsnd.c | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
diffs (78 lines):
diff -r d422758a8ed4 -r ac9e6cf14a7b tests/lib/libc/sys/t_msgctl.c
--- a/tests/lib/libc/sys/t_msgctl.c Fri Jan 13 20:44:10 2017 +0000
+++ b/tests/lib/libc/sys/t_msgctl.c Fri Jan 13 20:44:45 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_msgctl.c,v 1.4 2014/02/27 00:59:50 joerg Exp $ */
+/* $NetBSD: t_msgctl.c,v 1.5 2017/01/13 20:44:45 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_msgctl.c,v 1.4 2014/02/27 00:59:50 joerg Exp $");
+__RCSID("$NetBSD: t_msgctl.c,v 1.5 2017/01/13 20:44:45 christos Exp $");
#include <sys/msg.h>
#include <sys/stat.h>
@@ -38,6 +38,7 @@
#include <atf-c.h>
#include <errno.h>
+#include <limits.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
diff -r d422758a8ed4 -r ac9e6cf14a7b tests/lib/libc/sys/t_msgrcv.c
--- a/tests/lib/libc/sys/t_msgrcv.c Fri Jan 13 20:44:10 2017 +0000
+++ b/tests/lib/libc/sys/t_msgrcv.c Fri Jan 13 20:44:45 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_msgrcv.c,v 1.3 2013/07/24 11:44:10 skrll Exp $ */
+/* $NetBSD: t_msgrcv.c,v 1.4 2017/01/13 20:44:45 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_msgrcv.c,v 1.3 2013/07/24 11:44:10 skrll Exp $");
+__RCSID("$NetBSD: t_msgrcv.c,v 1.4 2017/01/13 20:44:45 christos Exp $");
#include <sys/msg.h>
#include <sys/stat.h>
@@ -38,6 +38,7 @@
#include <atf-c.h>
#include <errno.h>
+#include <limits.h>
#include <pwd.h>
#include <signal.h>
#include <stdio.h>
diff -r d422758a8ed4 -r ac9e6cf14a7b tests/lib/libc/sys/t_msgsnd.c
--- a/tests/lib/libc/sys/t_msgsnd.c Fri Jan 13 20:44:10 2017 +0000
+++ b/tests/lib/libc/sys/t_msgsnd.c Fri Jan 13 20:44:45 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_msgsnd.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $ */
+/* $NetBSD: t_msgsnd.c,v 1.3 2017/01/13 20:44:45 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_msgsnd.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $");
+__RCSID("$NetBSD: t_msgsnd.c,v 1.3 2017/01/13 20:44:45 christos Exp $");
#include <sys/msg.h>
#include <sys/stat.h>
@@ -38,6 +38,7 @@
#include <atf-c.h>
#include <errno.h>
+#include <limits.h>
#include <pwd.h>
#include <signal.h>
#include <stdio.h>
Home |
Main Index |
Thread Index |
Old Index