Source-Changes-HG archive

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

[src/trunk]: src/tests add missing includes



details:   https://anonhg.NetBSD.org/src/rev/773c04aad829
branches:  trunk
changeset: 782521:773c04aad829
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 04 23:37:02 2012 +0000

description:
add missing includes

diffstat:

 tests/fs/puffs/h_dtfs/dtfs_vfsops.c |  3 ++-
 tests/lib/libutil/t_efun.c          |  5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r f52dd86bbb50 -r 773c04aad829 tests/fs/puffs/h_dtfs/dtfs_vfsops.c
--- a/tests/fs/puffs/h_dtfs/dtfs_vfsops.c       Sun Nov 04 23:30:39 2012 +0000
+++ b/tests/fs/puffs/h_dtfs/dtfs_vfsops.c       Sun Nov 04 23:37:02 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dtfs_vfsops.c,v 1.2 2010/08/12 09:22:14 pooka Exp $    */
+/*     $NetBSD: dtfs_vfsops.c,v 1.3 2012/11/04 23:37:02 christos Exp $ */
 
 /*
  * Copyright (c) 2006  Antti Kantee.  All Rights Reserved.
@@ -28,6 +28,7 @@
 #include <sys/types.h>
 #include <sys/resource.h>
 
+#include <stdio.h>
 #include <assert.h>
 #include <err.h>
 #include <errno.h>
diff -r f52dd86bbb50 -r 773c04aad829 tests/lib/libutil/t_efun.c
--- a/tests/lib/libutil/t_efun.c        Sun Nov 04 23:30:39 2012 +0000
+++ b/tests/lib/libutil/t_efun.c        Sun Nov 04 23:37:02 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_efun.c,v 1.2 2011/03/30 17:03:02 jruoho Exp $ */
+/*     $NetBSD: t_efun.c,v 1.3 2012/11/04 23:37:02 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,10 +29,11 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_efun.c,v 1.2 2011/03/30 17:03:02 jruoho Exp $");
+__RCSID("$NetBSD: t_efun.c,v 1.3 2012/11/04 23:37:02 christos Exp $");
 
 #include <atf-c.h>
 
+#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <util.h>



Home | Main Index | Thread Index | Old Index