missing declaration of size
authorBill Joy <root@ucbvax.Berkeley.EDU>
Sun, 24 Oct 1982 02:26:56 +0000 (18:26 -0800)
committerBill Joy <root@ucbvax.Berkeley.EDU>
Sun, 24 Oct 1982 02:26:56 +0000 (18:26 -0800)
SCCS-vsn: sys/ufs/ffs/ffs_inode.c 4.30
SCCS-vsn: sys/ufs/ffs/ufs_inode.c 4.30
SCCS-vsn: sys/ufs/lfs/lfs_inode.c 4.30
SCCS-vsn: sys/ufs/ufs/ufs_inode.c 4.30

usr/src/sys/ufs/ffs/ffs_inode.c
usr/src/sys/ufs/ffs/ufs_inode.c
usr/src/sys/ufs/lfs/lfs_inode.c
usr/src/sys/ufs/ufs/ufs_inode.c

index c7adeef..9a290f9 100644 (file)
@@ -1,4 +1,4 @@
-/*     ffs_inode.c     4.29    82/10/19        */
+/*     ffs_inode.c     4.30    82/10/23        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -399,8 +399,10 @@ itrunc(ip, length)
 #ifndef QUOTA
                fre(ip, bn, (off_t)blksize(fs, ip, i));
 #else
 #ifndef QUOTA
                fre(ip, bn, (off_t)blksize(fs, ip, i));
 #else
-               fre(ip, bn, size = (off_t)blksize(fs, ip, i));
-               cnt += size / DEV_BSIZE;
+               { int size;
+                 fre(ip, bn, size = (off_t)blksize(fs, ip, i));
+                 cnt += size / DEV_BSIZE;
+               }
 #endif
        }
        ip->i_size = 0;
 #endif
        }
        ip->i_size = 0;
index 3bb7ac1..32c0ade 100644 (file)
@@ -1,4 +1,4 @@
-/*     ufs_inode.c     4.29    82/10/19        */
+/*     ufs_inode.c     4.30    82/10/23        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -399,8 +399,10 @@ itrunc(ip, length)
 #ifndef QUOTA
                fre(ip, bn, (off_t)blksize(fs, ip, i));
 #else
 #ifndef QUOTA
                fre(ip, bn, (off_t)blksize(fs, ip, i));
 #else
-               fre(ip, bn, size = (off_t)blksize(fs, ip, i));
-               cnt += size / DEV_BSIZE;
+               { int size;
+                 fre(ip, bn, size = (off_t)blksize(fs, ip, i));
+                 cnt += size / DEV_BSIZE;
+               }
 #endif
        }
        ip->i_size = 0;
 #endif
        }
        ip->i_size = 0;
index 43048b4..6d67213 100644 (file)
@@ -1,4 +1,4 @@
-/*     lfs_inode.c     4.29    82/10/19        */
+/*     lfs_inode.c     4.30    82/10/23        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -399,8 +399,10 @@ itrunc(ip, length)
 #ifndef QUOTA
                fre(ip, bn, (off_t)blksize(fs, ip, i));
 #else
 #ifndef QUOTA
                fre(ip, bn, (off_t)blksize(fs, ip, i));
 #else
-               fre(ip, bn, size = (off_t)blksize(fs, ip, i));
-               cnt += size / DEV_BSIZE;
+               { int size;
+                 fre(ip, bn, size = (off_t)blksize(fs, ip, i));
+                 cnt += size / DEV_BSIZE;
+               }
 #endif
        }
        ip->i_size = 0;
 #endif
        }
        ip->i_size = 0;
index 3bb7ac1..32c0ade 100644 (file)
@@ -1,4 +1,4 @@
-/*     ufs_inode.c     4.29    82/10/19        */
+/*     ufs_inode.c     4.30    82/10/23        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -399,8 +399,10 @@ itrunc(ip, length)
 #ifndef QUOTA
                fre(ip, bn, (off_t)blksize(fs, ip, i));
 #else
 #ifndef QUOTA
                fre(ip, bn, (off_t)blksize(fs, ip, i));
 #else
-               fre(ip, bn, size = (off_t)blksize(fs, ip, i));
-               cnt += size / DEV_BSIZE;
+               { int size;
+                 fre(ip, bn, size = (off_t)blksize(fs, ip, i));
+                 cnt += size / DEV_BSIZE;
+               }
 #endif
        }
        ip->i_size = 0;
 #endif
        }
        ip->i_size = 0;