This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / sys / ufs / ufs_subr.c
index 2fb344a..457651f 100644 (file)
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  *
  *     from: @(#)ufs_subr.c    7.13 (Berkeley) 6/28/90
  * SUCH DAMAGE.
  *
  *     from: @(#)ufs_subr.c    7.13 (Berkeley) 6/28/90
- *     $Id$
+ *     $Id: ufs_subr.c,v 1.2 1993/10/16 18:17:59 rgrimes Exp $
  */
 
 #ifdef KERNEL
  */
 
 #ifdef KERNEL
@@ -50,6 +50,7 @@ extern        u_char *fragtbl[];
  * Update the frsum fields to reflect addition or deletion 
  * of some frags.
  */
  * Update the frsum fields to reflect addition or deletion 
  * of some frags.
  */
+void
 fragacct(fs, fragmap, fraglist, cnt)
        struct fs *fs;
        int fragmap;
 fragacct(fs, fragmap, fraglist, cnt)
        struct fs *fs;
        int fragmap;
@@ -85,6 +86,7 @@ fragacct(fs, fragmap, fraglist, cnt)
  *
  * check if a block is available
  */
  *
  * check if a block is available
  */
+int
 isblock(fs, cp, h)
        struct fs *fs;
        unsigned char *cp;
 isblock(fs, cp, h)
        struct fs *fs;
        unsigned char *cp;
@@ -113,6 +115,7 @@ isblock(fs, cp, h)
 /*
  * take a block out of the map
  */
 /*
  * take a block out of the map
  */
+void
 clrblock(fs, cp, h)
        struct fs *fs;
        u_char *cp;
 clrblock(fs, cp, h)
        struct fs *fs;
        u_char *cp;
@@ -140,6 +143,7 @@ clrblock(fs, cp, h)
 /*
  * put a block into the map
  */
 /*
  * put a block into the map
  */
+void
 setblock(fs, cp, h)
        struct fs *fs;
        unsigned char *cp;
 setblock(fs, cp, h)
        struct fs *fs;
        unsigned char *cp;
@@ -171,6 +175,7 @@ setblock(fs, cp, h)
  * C definitions of special instructions.
  * Normally expanded with inline.
  */
  * C definitions of special instructions.
  * Normally expanded with inline.
  */
+int
 scanc(size, cp, table, mask)
        u_int size;
        register u_char *cp, table[];
 scanc(size, cp, table, mask)
        u_int size;
        register u_char *cp, table[];
@@ -185,6 +190,7 @@ scanc(size, cp, table, mask)
 #endif
 
 #if !defined(vax) && !defined(tahoe) && !defined(hp300)
 #endif
 
 #if !defined(vax) && !defined(tahoe) && !defined(hp300)
+int
 skpc(mask, size, cp)
        register u_char mask;
        u_int size;
 skpc(mask, size, cp)
        register u_char mask;
        u_int size;
@@ -197,6 +203,7 @@ skpc(mask, size, cp)
        return (end - cp);
 }
 
        return (end - cp);
 }
 
+int
 locc(mask, size, cp)
        register u_char mask;
        u_int size;
 locc(mask, size, cp)
        register u_char mask;
        u_int size;