diff --git a/sbin/mount/mount.nilfs2.c b/sbin/mount/mount.nilfs2.c index 18e7601..f01b546 100644 --- a/sbin/mount/mount.nilfs2.c +++ b/sbin/mount/mount.nilfs2.c @@ -105,13 +105,13 @@ static int fake; const char fstype[] = NILFS2_FS_NAME; char *progname = "mount." NILFS2_FS_NAME; -const char gcpid_opt_fmt[] = PIDOPT_NAME "=%d"; +static const char gcpid_opt_fmt[] = PIDOPT_NAME "=%d"; typedef int gcpid_opt_t; -const char pp_opt_fmt[] = PPOPT_NAME "=%lu"; +static const char pp_opt_fmt[] = PPOPT_NAME "=%lu"; typedef unsigned long pp_opt_t; -const char nogc_opt_fmt[] = NOGCOPT_NAME; +static const char nogc_opt_fmt[] = NOGCOPT_NAME; typedef int nogc_opt_t; struct mount_options { diff --git a/sbin/mount/umount.nilfs2.c b/sbin/mount/umount.nilfs2.c index 206c7cd..62cc979 100644 --- a/sbin/mount/umount.nilfs2.c +++ b/sbin/mount/umount.nilfs2.c @@ -104,10 +104,10 @@ static int nomtab; const char fstype[] = NILFS2_FS_NAME; char *progname = "umount." NILFS2_FS_NAME; -const char gcpid_opt_fmt[] = PIDOPT_NAME "=%d"; +static const char gcpid_opt_fmt[] = PIDOPT_NAME "=%d"; typedef int gcpid_opt_t; -const char pp_opt_fmt[] = PPOPT_NAME "=%lu"; +static const char pp_opt_fmt[] = PPOPT_NAME "=%lu"; typedef unsigned long pp_opt_t; struct umount_options {