Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/syscall Remove leftover <stdio.h> include.



details:   https://anonhg.NetBSD.org/src/rev/75dc8f0b1615
branches:  trunk
changeset: 763763:75dc8f0b1615
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Apr 03 16:22:15 2011 +0000

description:
Remove leftover <stdio.h> include.

diffstat:

 tests/syscall/t_dup.c      |  6 ++----
 tests/syscall/t_mprotect.c |  6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diffs (54 lines):

diff -r cfa2ba71e9a7 -r 75dc8f0b1615 tests/syscall/t_dup.c
--- a/tests/syscall/t_dup.c     Sun Apr 03 16:12:45 2011 +0000
+++ b/tests/syscall/t_dup.c     Sun Apr 03 16:22:15 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_dup.c,v 1.1 2011/03/31 15:47:56 jruoho Exp $ */
+/* $NetBSD: t_dup.c,v 1.2 2011/04/03 16:22:15 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_dup.c,v 1.1 2011/03/31 15:47:56 jruoho Exp $");
+__RCSID("$NetBSD: t_dup.c,v 1.2 2011/04/03 16:22:15 jruoho Exp $");
 
 #include <sys/stat.h>
 
@@ -39,8 +39,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include <stdio.h>
-
 #include <atf-c.h>
 
 static char     path[] = "/tmp/dup";
diff -r cfa2ba71e9a7 -r 75dc8f0b1615 tests/syscall/t_mprotect.c
--- a/tests/syscall/t_mprotect.c        Sun Apr 03 16:12:45 2011 +0000
+++ b/tests/syscall/t_mprotect.c        Sun Apr 03 16:22:15 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_mprotect.c,v 1.1 2011/04/03 16:12:46 jruoho Exp $ */
+/* $NetBSD: t_mprotect.c,v 1.2 2011/04/03 16:22:15 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_mprotect.c,v 1.1 2011/04/03 16:12:46 jruoho Exp $");
+__RCSID("$NetBSD: t_mprotect.c,v 1.2 2011/04/03 16:22:15 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/mman.h>
@@ -42,8 +42,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include <stdio.h>             /* XXX. */
-
 #include <atf-c.h>
 
 static long    page = 0;



Home | Main Index | Thread Index | Old Index