Include files for function prototypes.
authorDonn Seeley <donn@ucbvax.Berkeley.EDU>
Mon, 25 Feb 1991 14:12:41 +0000 (06:12 -0800)
committerDonn Seeley <donn@ucbvax.Berkeley.EDU>
Mon, 25 Feb 1991 14:12:41 +0000 (06:12 -0800)
SCCS-vsn: bin/ln/ln.c 4.15

usr/src/bin/ln/ln.c

index 2e91435..038599f 100644 (file)
@@ -12,7 +12,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)ln.c       4.14 (Berkeley) %G%";
+static char sccsid[] = "@(#)ln.c       4.15 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -20,10 +20,13 @@ static char sccsid[] = "@(#)ln.c    4.14 (Berkeley) %G%";
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
+#include <stdlib.h>
+#include <unistd.h>
 
 static int     dirflag,                        /* undocumented force flag */
                sflag,                          /* symbolic, not hard, link */
                (*linkf)();                     /* system link call */
 
 static int     dirflag,                        /* undocumented force flag */
                sflag,                          /* symbolic, not hard, link */
                (*linkf)();                     /* system link call */
+static linkit(), usage();
 
 main(argc, argv)
        int argc;
 
 main(argc, argv)
        int argc;