summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2005-06-10 09:51:43 +0000
committerdelphij <delphij@FreeBSD.org>2005-06-10 09:51:43 +0000
commit5173bfd387bd8bedfdc02dd719466c21427d9216 (patch)
tree0e6a4ab8b8aa5578febfa41f0a076ce9ae4cf5a8
parentaaea0db09900b2d37eac80912e4997bdb8ca9e6d (diff)
downloadFreeBSD-src-5173bfd387bd8bedfdc02dd719466c21427d9216.zip
FreeBSD-src-5173bfd387bd8bedfdc02dd719466c21427d9216.tar.gz
Use MOPT_END in favor of MOPT_NULL, which better describes the purporse
of the macro.
-rw-r--r--sbin/mount/mntopts.h4
-rw-r--r--sbin/mount/mount_ufs.c2
-rw-r--r--sbin/mount_cd9660/mount_cd9660.c2
-rw-r--r--sbin/mount_ext2fs/mount_ext2fs.c2
-rw-r--r--sbin/mount_hpfs/mount_hpfs.c2
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.c2
-rw-r--r--sbin/mount_nfs/mount_nfs.c2
-rw-r--r--sbin/mount_nfs4/mount_nfs4.c2
-rw-r--r--sbin/mount_ntfs/mount_ntfs.c2
-rw-r--r--sbin/mount_nullfs/mount_nullfs.c2
-rw-r--r--sbin/mount_reiserfs/mount_reiserfs.c2
-rw-r--r--sbin/mount_std/mount_std.c2
-rw-r--r--sbin/mount_udf/mount_udf.c2
-rw-r--r--sbin/mount_ufs/mount_ufs.c2
-rw-r--r--sbin/mount_umapfs/mount_umapfs.c2
-rw-r--r--sbin/mount_unionfs/mount_unionfs.c2
16 files changed, 17 insertions, 17 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h
index 8b8e1fb..17674da 100644
--- a/sbin/mount/mntopts.h
+++ b/sbin/mount/mntopts.h
@@ -65,8 +65,8 @@ struct mntopt {
/* This is parsed by mount(8), but is ignored by specific mount_*(8)s. */
#define MOPT_AUTO { "auto", 0, 0, 0 }
-/* A handy macro as terminator of MNT_ array */
-#define MOPT_NULL { NULL, 0, 0, 0 }
+/* A handy macro as terminator of MNT_ array. */
+#define MOPT_END { NULL, 0, 0, 0 }
#define MOPT_FSTAB_COMPAT \
MOPT_RO, \
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c
index e18247b..178dd48 100644
--- a/sbin/mount/mount_ufs.c
+++ b/sbin/mount/mount_ufs.c
@@ -64,7 +64,7 @@ static struct mntopt mopts[] = {
MOPT_SYNC,
MOPT_UPDATE,
MOPT_SNAPSHOT,
- MOPT_NULL
+ MOPT_END
};
int
diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c
index 4a6461a..1633f4f 100644
--- a/sbin/mount_cd9660/mount_cd9660.c
+++ b/sbin/mount_cd9660/mount_cd9660.c
@@ -77,7 +77,7 @@ struct mntopt mopts[] = {
{ "rrip", 1, ISOFSMNT_NORRIP, 1 },
{ "joliet", 1, ISOFSMNT_NOJOLIET, 1 },
{ "strictjoliet", 1, ISOFSMNT_BROKENJOLIET, 1 },
- MOPT_NULL
+ MOPT_END
};
int get_ssector(const char *dev);
diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c
index a74a5d7..4e72454 100644
--- a/sbin/mount_ext2fs/mount_ext2fs.c
+++ b/sbin/mount_ext2fs/mount_ext2fs.c
@@ -60,7 +60,7 @@ struct mntopt mopts[] = {
MOPT_FORCE,
MOPT_SYNC,
MOPT_UPDATE,
- MOPT_NULL
+ MOPT_END
};
static void usage(void) __dead2;
diff --git a/sbin/mount_hpfs/mount_hpfs.c b/sbin/mount_hpfs/mount_hpfs.c
index 150dfd1..a9a87e2 100644
--- a/sbin/mount_hpfs/mount_hpfs.c
+++ b/sbin/mount_hpfs/mount_hpfs.c
@@ -50,7 +50,7 @@
static struct mntopt mopts[] = {
MOPT_STDOPTS,
- MOPT_NULL
+ MOPT_END
};
static gid_t a_gid(char *);
diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c
index d5557bb..c73b438 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.c
+++ b/sbin/mount_msdosfs/mount_msdosfs.c
@@ -73,7 +73,7 @@ static struct mntopt mopts[] = {
{ "shortnames", 0, MSDOSFSMNT_SHORTNAME, 1 },
{ "longnames", 0, MSDOSFSMNT_LONGNAME, 1 },
{ "nowin95", 0, MSDOSFSMNT_NOWIN95, 1 },
- MOPT_NULL
+ MOPT_END
};
static gid_t a_gid(char *);
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c
index 4af2d65..a2e0586 100644
--- a/sbin/mount_nfs/mount_nfs.c
+++ b/sbin/mount_nfs/mount_nfs.c
@@ -121,7 +121,7 @@ struct mntopt mopts[] = {
{ "lockd", 1, ALTF_NOLOCKD, 1 },
{ "inet4", 1, ALTF_NOINET4, 1 },
{ "inet6", 1, ALTF_NOINET6, 1 },
- MOPT_NULL
+ MOPT_END
};
struct nfs_args nfsdefargs = {
diff --git a/sbin/mount_nfs4/mount_nfs4.c b/sbin/mount_nfs4/mount_nfs4.c
index 683fb93..94d0d93 100644
--- a/sbin/mount_nfs4/mount_nfs4.c
+++ b/sbin/mount_nfs4/mount_nfs4.c
@@ -151,7 +151,7 @@ struct mntopt mopts[] = {
{ "lockd", 1, ALTF_NOLOCKD, 1 },
{ "inet4", 1, ALTF_NOINET4, 1 },
{ "inet6", 1, ALTF_NOINET6, 1 },
- MOPT_NULL
+ MOPT_END
};
struct nfs_args nfsdefargs = {
diff --git a/sbin/mount_ntfs/mount_ntfs.c b/sbin/mount_ntfs/mount_ntfs.c
index 49db87d..4bd118f 100644
--- a/sbin/mount_ntfs/mount_ntfs.c
+++ b/sbin/mount_ntfs/mount_ntfs.c
@@ -58,7 +58,7 @@
static struct mntopt mopts[] = {
MOPT_STDOPTS,
- MOPT_NULL
+ MOPT_END
};
static gid_t a_gid(char *);
diff --git a/sbin/mount_nullfs/mount_nullfs.c b/sbin/mount_nullfs/mount_nullfs.c
index 8fefe16..4105624 100644
--- a/sbin/mount_nullfs/mount_nullfs.c
+++ b/sbin/mount_nullfs/mount_nullfs.c
@@ -59,7 +59,7 @@ static const char rcsid[] =
struct mntopt mopts[] = {
MOPT_STDOPTS,
- MOPT_NULL
+ MOPT_END
};
int subdir(const char *, const char *);
diff --git a/sbin/mount_reiserfs/mount_reiserfs.c b/sbin/mount_reiserfs/mount_reiserfs.c
index 34dc463..b7c71ad0 100644
--- a/sbin/mount_reiserfs/mount_reiserfs.c
+++ b/sbin/mount_reiserfs/mount_reiserfs.c
@@ -41,7 +41,7 @@
struct mntopt mopts[] = {
MOPT_STDOPTS,
- MOPT_NULL
+ MOPT_END
};
void usage(void);
diff --git a/sbin/mount_std/mount_std.c b/sbin/mount_std/mount_std.c
index 601cab4..ec8041d 100644
--- a/sbin/mount_std/mount_std.c
+++ b/sbin/mount_std/mount_std.c
@@ -59,7 +59,7 @@ static const char rcsid[] =
static struct mntopt mopts[] = {
MOPT_STDOPTS,
- MOPT_NULL
+ MOPT_END
};
static char *fsname;
diff --git a/sbin/mount_udf/mount_udf.c b/sbin/mount_udf/mount_udf.c
index 4c8dbef..0175f20 100644
--- a/sbin/mount_udf/mount_udf.c
+++ b/sbin/mount_udf/mount_udf.c
@@ -64,7 +64,7 @@
struct mntopt mopts[] = {
MOPT_STDOPTS,
MOPT_UPDATE,
- MOPT_NULL
+ MOPT_END
};
int set_charset(char **, char **, const char *);
diff --git a/sbin/mount_ufs/mount_ufs.c b/sbin/mount_ufs/mount_ufs.c
index 6043b1f..4292af4 100644
--- a/sbin/mount_ufs/mount_ufs.c
+++ b/sbin/mount_ufs/mount_ufs.c
@@ -61,7 +61,7 @@ struct mntopt mopts[] = {
MOPT_SYNC,
MOPT_UPDATE,
MOPT_SNAPSHOT,
- MOPT_NULL
+ MOPT_END
};
void usage(void);
diff --git a/sbin/mount_umapfs/mount_umapfs.c b/sbin/mount_umapfs/mount_umapfs.c
index eb932fa..b16cf10 100644
--- a/sbin/mount_umapfs/mount_umapfs.c
+++ b/sbin/mount_umapfs/mount_umapfs.c
@@ -79,7 +79,7 @@ static const char rcsid[] =
static struct mntopt mopts[] = {
MOPT_STDOPTS,
- MOPT_NULL
+ MOPT_END
};
static void usage(void) __dead2;
diff --git a/sbin/mount_unionfs/mount_unionfs.c b/sbin/mount_unionfs/mount_unionfs.c
index 9c541c6..7b619ea 100644
--- a/sbin/mount_unionfs/mount_unionfs.c
+++ b/sbin/mount_unionfs/mount_unionfs.c
@@ -60,7 +60,7 @@ static const char rcsid[] =
static struct mntopt mopts[] = {
MOPT_STDOPTS,
- MOPT_NULL
+ MOPT_END
};
static int subdir(const char *, const char *);
OpenPOWER on IntegriCloud