changeset 2570:70878b295de9

move vmp decl back out to the scope where it belongs
author Jim Meyering <jim@meyering.net>
date Sat, 03 Jun 2000 22:09:03 +0000
parents 315dd92faf6e
children a3aef28bde56
files lib/mountlist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/mountlist.c	Sat Jun 03 21:47:48 2000 +0000
+++ b/lib/mountlist.c	Sat Jun 03 22:09:03 2000 +0000
@@ -712,6 +712,7 @@
   {
     int bufsize;
     char *entries, *thisent;
+    struct vmount *vmp;
 
     /* Ask how many bytes to allocate for the mounted filesystem info.  */
     mntctl (MCTL_QUERY, sizeof bufsize, (struct vmount *) &bufsize);
@@ -724,7 +725,6 @@
 	 thisent += vmp->vmt_length)
       {
 	char *options, *ignore;
-	struct vmount *vmp;
 
 	vmp = (struct vmount *) thisent;
 	me = (struct mount_entry *) xmalloc (sizeof (struct mount_entry));