# HG changeset patch # User Jim Meyering # Date 960070143 0 # Node ID 70878b295de9692f74208a9281666c620d2f4449 # Parent 315dd92faf6e7f47167f8c092aa1c90585a44cc8 move vmp decl back out to the scope where it belongs diff --git a/lib/mountlist.c b/lib/mountlist.c --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -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));