Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/include/mntopts.h,v rcsdiff: /ftp/cvs/cvsroot/src/include/mntopts.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.4 retrieving revision 1.10.18.1 diff -u -p -r1.4 -r1.10.18.1 --- src/include/mntopts.h 2003/10/13 17:55:11 1.4 +++ src/include/mntopts.h 2008/09/18 04:39:55 1.10.18.1 @@ -1,4 +1,4 @@ -/* $NetBSD: mntopts.h,v 1.4 2003/10/13 17:55:11 thorpej Exp $ */ +/* $NetBSD: mntopts.h,v 1.10.18.1 2008/09/18 04:39:55 wrstuden Exp $ */ /*- * Copyright (c) 1994 @@ -55,6 +55,7 @@ struct mntopt { #define MOPT_NOATIME { "atime", 1, MNT_NOATIME, 0 } #define MOPT_SYMPERM { "symperm", 0, MNT_SYMPERM, 0 } #define MOPT_SOFTDEP { "softdep", 0, MNT_SOFTDEP, 0 } +#define MOPT_LOG { "log", 0, MNT_LOG, 0 } #define MOPT_IGNORE { "hidden", 0, MNT_IGNORE, 0 } /* Control flags. */ @@ -69,6 +70,7 @@ struct mntopt { /* This is parsed by mount(8), but is ignored by specific mount_*(8)s. */ #define MOPT_AUTO { "auto", 0, 0, 0 } +#define MOPT_NULL { NULL, 0, 0, 0 } #define MOPT_FSTAB_COMPAT \ MOPT_RO, \ @@ -91,11 +93,10 @@ struct mntopt { __BEGIN_DECLS typedef struct mntoptparse *mntoptparse_t; -mntoptparse_t getmntopts __P((const char *, const struct mntopt *, int *, - int *)); -const char *getmntoptstr __P((mntoptparse_t, const char *)); -long getmntoptnum __P((mntoptparse_t, const char *)); -void freemntopts __P((mntoptparse_t)); +mntoptparse_t getmntopts(const char *, const struct mntopt *, int *, int *); +const char *getmntoptstr(mntoptparse_t, const char *); +long getmntoptnum(mntoptparse_t, const char *); +void freemntopts(mntoptparse_t); extern int getmnt_silent; __END_DECLS