Move nfstestargs to header "because I need them". A more sweeping
action would be good here.
This commit is contained in:
parent
ce798b3d87
commit
0f9324ee3d
|
@ -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 @@ atf_check_fstype(const atf_tc_t *tc, const char *fs)
|
|||
#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_ */
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue