Skip to content

Commit e237e42

Browse files
committed
use MOPT_NULL
1 parent 16bda0e commit e237e42

File tree

21 files changed

+62
-62
lines changed

21 files changed

+62
-62
lines changed

sbin/mount_ados/mount_ados.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_ados.c,v 1.22 2006/10/16 03:26:49 christos Exp $ */
1+
/* $NetBSD: mount_ados.c,v 1.23 2006/10/16 03:37:42 christos Exp $ */
22

33
/*
44
* Copyright (c) 1994 Christopher G. Demetriou
@@ -36,7 +36,7 @@
3636

3737
#include <sys/cdefs.h>
3838
#ifndef lint
39-
__RCSID("$NetBSD: mount_ados.c,v 1.22 2006/10/16 03:26:49 christos Exp $");
39+
__RCSID("$NetBSD: mount_ados.c,v 1.23 2006/10/16 03:37:42 christos Exp $");
4040
#endif /* not lint */
4141

4242
#include <sys/cdefs.h>
@@ -61,7 +61,7 @@ __RCSID("$NetBSD: mount_ados.c,v 1.22 2006/10/16 03:26:49 christos Exp $");
6161
static const struct mntopt mopts[] = {
6262
MOPT_STDOPTS,
6363
MOPT_GETARGS,
64-
{ .m_option = NULL }
64+
MOPT_NULL,
6565
};
6666

6767
int mount_ados(int argc, char **argv);

sbin/mount_cd9660/mount_cd9660.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_cd9660.c,v 1.23 2006/10/16 03:27:41 christos Exp $ */
1+
/* $NetBSD: mount_cd9660.c,v 1.24 2006/10/16 03:37:42 christos Exp $ */
22

33
/*
44
* Copyright (c) 1992, 1993, 1994
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
4646
#if 0
4747
static char sccsid[] = "@(#)mount_cd9660.c 8.7 (Berkeley) 5/1/95";
4848
#else
49-
__RCSID("$NetBSD: mount_cd9660.c,v 1.23 2006/10/16 03:27:41 christos Exp $");
49+
__RCSID("$NetBSD: mount_cd9660.c,v 1.24 2006/10/16 03:37:42 christos Exp $");
5050
#endif
5151
#endif /* not lint */
5252

@@ -75,7 +75,7 @@ static const struct mntopt mopts[] = {
7575
{ "rrip", 1, ISOFSMNT_NORRIP, 1 },
7676
{ "joliet", 1, ISOFSMNT_NOJOLIET, 1 },
7777
{ "rrcaseins", 0, ISOFSMNT_RRCASEINS, 1 },
78-
{ .m_option = NULL }
78+
MOPT_NULL,
7979
};
8080

8181
int mount_cd9660(int argc, char **argv);

sbin/mount_ext2fs/mount_ext2fs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_ext2fs.c,v 1.16 2006/10/16 03:29:06 christos Exp $ */
1+
/* $NetBSD: mount_ext2fs.c,v 1.17 2006/10/16 03:37:42 christos Exp $ */
22

33
/*-
44
* Copyright (c) 1993, 1994
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993, 1994\n\
3939
#if 0
4040
static char sccsid[] = "@(#)mount_ufs.c 8.4 (Berkeley) 4/26/95";
4141
#else
42-
__RCSID("$NetBSD: mount_ext2fs.c,v 1.16 2006/10/16 03:29:06 christos Exp $");
42+
__RCSID("$NetBSD: mount_ext2fs.c,v 1.17 2006/10/16 03:37:42 christos Exp $");
4343
#endif
4444
#endif /* not lint */
4545

@@ -69,7 +69,7 @@ static const struct mntopt mopts[] = {
6969
MOPT_FORCE,
7070
MOPT_GETARGS,
7171
MOPT_NODEVMTIME,
72-
{ .m_option = NULL }
72+
MOPT_NULL,
7373
};
7474

7575
#ifndef MOUNT_NOMAIN

sbin/mount_fdesc/mount_fdesc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_fdesc.c,v 1.18 2006/10/16 03:29:46 christos Exp $ */
1+
/* $NetBSD: mount_fdesc.c,v 1.19 2006/10/16 03:37:42 christos Exp $ */
22

33
/*
44
* Copyright (c) 1992, 1993, 1994
@@ -77,7 +77,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
7777
#if 0
7878
static char sccsid[] = "@(#)mount_fdesc.c 8.3 (Berkeley) 4/26/95";
7979
#else
80-
__RCSID("$NetBSD: mount_fdesc.c,v 1.18 2006/10/16 03:29:46 christos Exp $");
80+
__RCSID("$NetBSD: mount_fdesc.c,v 1.19 2006/10/16 03:37:42 christos Exp $");
8181
#endif
8282
#endif /* not lint */
8383

@@ -95,7 +95,7 @@ __RCSID("$NetBSD: mount_fdesc.c,v 1.18 2006/10/16 03:29:46 christos Exp $");
9595
static const struct mntopt mopts[] = {
9696
MOPT_STDOPTS,
9797
MOPT_GETARGS,
98-
{ .m_option = NULL }
98+
MOPT_NULL,
9999
};
100100

101101
static void usage(void);

sbin/mount_ffs/mount_ffs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_ffs.c,v 1.19 2006/03/21 21:11:41 christos Exp $ */
1+
/* $NetBSD: mount_ffs.c,v 1.20 2006/10/16 03:37:42 christos Exp $ */
22

33
/*-
44
* Copyright (c) 1993, 1994
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993, 1994\n\
3939
#if 0
4040
static char sccsid[] = "@(#)mount_ufs.c 8.4 (Berkeley) 4/26/95";
4141
#else
42-
__RCSID("$NetBSD: mount_ffs.c,v 1.19 2006/03/21 21:11:41 christos Exp $");
42+
__RCSID("$NetBSD: mount_ffs.c,v 1.20 2006/10/16 03:37:42 christos Exp $");
4343
#endif
4444
#endif /* not lint */
4545

@@ -71,7 +71,7 @@ static const struct mntopt mopts[] = {
7171
MOPT_FORCE,
7272
MOPT_SOFTDEP,
7373
MOPT_GETARGS,
74-
{ NULL }
74+
MOPT_NULL,
7575
};
7676

7777
#ifndef MOUNT_NOMAIN

sbin/mount_filecore/mount_filecore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_filecore.c,v 1.13 2006/03/21 21:11:41 christos Exp $ */
1+
/* $NetBSD: mount_filecore.c,v 1.14 2006/10/16 03:37:42 christos Exp $ */
22

33
/*
44
* Copyright (c) 1992, 1993, 1994 The Regents of the University of California.
@@ -101,7 +101,7 @@ static const struct mntopt mopts[] = {
101101
MOPT_STDOPTS,
102102
MOPT_UPDATE,
103103
MOPT_GETARGS,
104-
{ NULL }
104+
MOPT_NULL,
105105
};
106106

107107
int mount_filecore(int argc, char **argv);

sbin/mount_kernfs/mount_kernfs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_kernfs.c,v 1.18 2006/03/21 21:11:41 christos Exp $ */
1+
/* $NetBSD: mount_kernfs.c,v 1.19 2006/10/16 03:37:42 christos Exp $ */
22

33
/*
44
* Copyright (c) 1992, 1993, 1994
@@ -77,7 +77,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
7777
#if 0
7878
static char sccsid[] = "@(#)mount_kernfs.c 8.3 (Berkeley) 5/4/95";
7979
#else
80-
__RCSID("$NetBSD: mount_kernfs.c,v 1.18 2006/03/21 21:11:41 christos Exp $");
80+
__RCSID("$NetBSD: mount_kernfs.c,v 1.19 2006/10/16 03:37:42 christos Exp $");
8181
#endif
8282
#endif /* not lint */
8383

@@ -95,7 +95,7 @@ __RCSID("$NetBSD: mount_kernfs.c,v 1.18 2006/03/21 21:11:41 christos Exp $");
9595
static const struct mntopt mopts[] = {
9696
MOPT_STDOPTS,
9797
MOPT_GETARGS,
98-
{ NULL }
98+
MOPT_NULL,
9999
};
100100

101101
int mount_kernfs(int argc, char **argv);

sbin/mount_lfs/mount_lfs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_lfs.c,v 1.27 2006/03/21 21:11:41 christos Exp $ */
1+
/* $NetBSD: mount_lfs.c,v 1.28 2006/10/16 03:37:42 christos Exp $ */
22

33
/*-
44
* Copyright (c) 1993, 1994
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993, 1994\n\
3939
#if 0
4040
static char sccsid[] = "@(#)mount_lfs.c 8.4 (Berkeley) 4/26/95";
4141
#else
42-
__RCSID("$NetBSD: mount_lfs.c,v 1.27 2006/03/21 21:11:41 christos Exp $");
42+
__RCSID("$NetBSD: mount_lfs.c,v 1.28 2006/10/16 03:37:42 christos Exp $");
4343
#endif
4444
#endif /* not lint */
4545

@@ -66,7 +66,7 @@ static const struct mntopt mopts[] = {
6666
MOPT_UPDATE,
6767
MOPT_GETARGS,
6868
MOPT_NOATIME,
69-
{ NULL }
69+
MOPT_NULL,
7070
};
7171

7272
int mount_lfs(int, char *[]);

sbin/mount_msdos/mount_msdos.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_msdos.c,v 1.38 2006/03/21 21:11:41 christos Exp $ */
1+
/* $NetBSD: mount_msdos.c,v 1.39 2006/10/16 03:37:42 christos Exp $ */
22

33
/*
44
* Copyright (c) 1994 Christopher G. Demetriou
@@ -36,7 +36,7 @@
3636

3737
#include <sys/cdefs.h>
3838
#ifndef lint
39-
__RCSID("$NetBSD: mount_msdos.c,v 1.38 2006/03/21 21:11:41 christos Exp $");
39+
__RCSID("$NetBSD: mount_msdos.c,v 1.39 2006/10/16 03:37:42 christos Exp $");
4040
#endif /* not lint */
4141

4242
#include <sys/cdefs.h>
@@ -64,7 +64,7 @@ static const struct mntopt mopts[] = {
6464
MOPT_SYNC,
6565
MOPT_UPDATE,
6666
MOPT_GETARGS,
67-
{ NULL }
67+
MOPT_NULL,
6868
};
6969

7070
int mount_msdos(int argc, char **argv);

sbin/mount_nfs/mount_nfs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mount_nfs.c,v 1.51 2006/05/20 08:06:48 yamt Exp $ */
1+
/* $NetBSD: mount_nfs.c,v 1.52 2006/10/16 03:37:42 christos Exp $ */
22

33
/*
44
* Copyright (c) 1992, 1993, 1994
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
4242
#if 0
4343
static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95";
4444
#else
45-
__RCSID("$NetBSD: mount_nfs.c,v 1.51 2006/05/20 08:06:48 yamt Exp $");
45+
__RCSID("$NetBSD: mount_nfs.c,v 1.52 2006/10/16 03:37:42 christos Exp $");
4646
#endif
4747
#endif /* not lint */
4848

@@ -134,7 +134,7 @@ static const struct mntopt mopts[] = {
134134
{ "readahead", 0, ALTF_READAHEAD, 1 },
135135
{ "deadthresh", 0, ALTF_DEADTHRESH, 1 },
136136
{ "timeo", 0, ALTF_TIMEO, 1 },
137-
{ NULL }
137+
MOPT_NULL,
138138

139139
};
140140

0 commit comments

Comments
 (0)