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/51840: Ngie Cooper: portability fixes ...
details: https://anonhg.NetBSD.org/src/rev/404a5727113e
branches: trunk
changeset: 350544:404a5727113e
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 13 19:27:23 2017 +0000
description:
PR/51840: Ngie Cooper: portability fixes for FreeBSD, etc
diffstat:
tests/lib/libc/sys/t_write.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r d9b18fdb7765 -r 404a5727113e tests/lib/libc/sys/t_write.c
--- a/tests/lib/libc/sys/t_write.c Fri Jan 13 19:26:03 2017 +0000
+++ b/tests/lib/libc/sys/t_write.c Fri Jan 13 19:27:23 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_write.c,v 1.2 2011/10/19 16:19:30 jruoho Exp $ */
+/* $NetBSD: t_write.c,v 1.3 2017/01/13 19:27:23 christos Exp $ */
/*-
* Copyright (c) 2001, 2008 The NetBSD Foundation, Inc.
@@ -29,15 +29,15 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008\
The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_write.c,v 1.2 2011/10/19 16:19:30 jruoho Exp $");
+__RCSID("$NetBSD: t_write.c,v 1.3 2017/01/13 19:27:23 christos Exp $");
#include <sys/uio.h>
-#include <sys/syslimits.h>
#include <atf-c.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
+#include <limits.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
@@ -49,7 +49,7 @@
static const char *path = "write";
static void
-sighandler(int signo)
+sighandler(int signo __unused)
{
fail = false;
}
Home |
Main Index |
Thread Index |
Old Index