don't make routines static, dbx doesn't like it
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 26 May 1990 04:00:02 +0000 (20:00 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 26 May 1990 04:00:02 +0000 (20:00 -0800)
SCCS-vsn: usr.sbin/mtree/spec.c 5.11
SCCS-vsn: usr.sbin/mtree/create.c 5.11
SCCS-vsn: usr.sbin/mtree/mtree.c 5.8

usr/src/usr.sbin/mtree/create.c
usr/src/usr.sbin/mtree/mtree.c
usr/src/usr.sbin/mtree/spec.c

index 1a1c852..29dee19 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)create.c   5.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)create.c   5.11 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -140,7 +140,6 @@ cwalk()
 #define        MAXUID  5000
 #define        MAXMODE MBITS + 1
 
 #define        MAXUID  5000
 #define        MAXMODE MBITS + 1
 
-static
 statdir(t, parent, puid, pgid, pmode, tabs)
        FTS *t;
        FTSENT *parent;
 statdir(t, parent, puid, pgid, pmode, tabs)
        FTS *t;
        FTSENT *parent;
@@ -200,7 +199,6 @@ statdir(t, parent, puid, pgid, pmode, tabs)
        return(0);
 }
 
        return(0);
 }
 
-static
 dsort(p1, p2)
        FTSENT **p1, **p2;
 {
 dsort(p1, p2)
        FTSENT **p1, **p2;
 {
index 396373f..39dd5b5 100644 (file)
@@ -12,7 +12,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)mtree.c    5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)mtree.c    5.8 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -90,7 +90,6 @@ main(argc, argv)
        exit(exitval);
 }
 
        exit(exitval);
 }
 
-static
 usage()
 {
        (void)fprintf(stderr,
 usage()
 {
        (void)fprintf(stderr,
index 5b0d6ac..ba3cb18 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)spec.c     5.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)spec.c     5.11 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -99,7 +99,6 @@ spec()
        }
 }
 
        }
 }
 
-static
 set(ip)
        register NODE *ip;
 {
 set(ip)
        register NODE *ip;
 {
@@ -186,7 +185,6 @@ set(ip)
        }
 }
 
        }
 }
 
-static
 unset(ip)
        register NODE *ip;
 {
 unset(ip)
        register NODE *ip;
 {
@@ -196,7 +194,6 @@ unset(ip)
                ip->flags &= ~key(p);
 }
 
                ip->flags &= ~key(p);
 }
 
-static
 key(p)
        char *p;
 {
 key(p)
        char *p;
 {
@@ -244,7 +241,7 @@ key(p)
 }
 
 
 }
 
 
-static uid_t
+uid_t
 getowner(p)
        register char *p;
 {
 getowner(p)
        register char *p;
 {
@@ -263,7 +260,7 @@ getowner(p)
        /* NOTREACHED */
 }
 
        /* NOTREACHED */
 }
 
-static gid_t
+gid_t
 getgroup(p)
        register char *p;
 {
 getgroup(p)
        register char *p;
 {
@@ -282,14 +279,12 @@ getgroup(p)
        /* NOTREACHED */
 }
 
        /* NOTREACHED */
 }
 
-static
 noparent()
 {
        (void)fprintf(stderr, "mtree: no parent node.\n");
        specerr();
 }
 
 noparent()
 {
        (void)fprintf(stderr, "mtree: no parent node.\n");
        specerr();
 }
 
-static
 specerr()
 {
        (void)fprintf(stderr,
 specerr()
 {
        (void)fprintf(stderr,
@@ -297,7 +292,7 @@ specerr()
        exit(1);
 }
 
        exit(1);
 }
 
-static NODE *
+NODE *
 emalloc(size)
        int size;
 {
 emalloc(size)
        int size;
 {
@@ -310,7 +305,6 @@ emalloc(size)
        return((NODE *)p);
 }
 
        return((NODE *)p);
 }
 
-static
 nomem()
 {
        (void)fprintf(stderr, "mtree: %s.\n", strerror(ENOMEM));
 nomem()
 {
        (void)fprintf(stderr, "mtree: %s.\n", strerror(ENOMEM));