Module Name:    src
Committed By:   pooka
Date:           Wed Jul 28 15:16:50 UTC 2010

Modified Files:
        src/tests/fs/common: h_fsmacros.h nfs.c

Log Message:
Move nfstestargs to header "because I need them".  A more sweeping
action would be good here.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/tests/fs/common/h_fsmacros.h
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/common/nfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/common/h_fsmacros.h
diff -u src/tests/fs/common/h_fsmacros.h:1.15 src/tests/fs/common/h_fsmacros.h:1.16
--- src/tests/fs/common/h_fsmacros.h:1.15	Wed Jul 28 14:23:02 2010
+++ src/tests/fs/common/h_fsmacros.h	Wed Jul 28 15:16:50 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: h_fsmacros.h,v 1.15 2010/07/28 14:23:02 pooka Exp $	*/
+/*	$NetBSD: h_fsmacros.h,v 1.16 2010/07/28 15:16:50 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -160,4 +160,11 @@
 #define FSTYPE_TMPFS(tc)\
     (strcmp(atf_tc_get_md_var(tc, "X-fs.type"), MOUNT_TMPFS) == 0)
 
+
+/* file system args structures */
+struct nfstestargs {
+	pid_t ta_childpid;
+	char ta_ethername[MAXPATHLEN];
+};
+
 #endif /* __H_FSMACROS_H_ */

Index: src/tests/fs/common/nfs.c
diff -u src/tests/fs/common/nfs.c:1.1 src/tests/fs/common/nfs.c:1.2
--- src/tests/fs/common/nfs.c:1.1	Mon Jul 26 16:15:49 2010
+++ src/tests/fs/common/nfs.c	Wed Jul 28 15:16:50 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: nfs.c,v 1.1 2010/07/26 16:15:49 pooka Exp $	*/
+/*	$NetBSD: nfs.c,v 1.2 2010/07/28 15:16:50 pooka Exp $	*/
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -57,11 +57,6 @@
 #define NETNETMASK "255.255.255.0"
 #define EXPORTPATH "/myexport"
 
-struct nfstestargs {
-	pid_t ta_childpid;
-	char ta_ethername[MAXPATHLEN];
-};
-
 static void
 childfail(int status)
 {

Reply via email to