Ignore:
Timestamp:
Dec 17, 2005, 6:31:29 AM (20 years ago)
Author:
bird
Message:

ln and install builtins (from BSD as usual).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/kmkbuiltin/ln.c

    r367 r368  
    5353#include <unistd.h>
    5454
    55 int     fflag;                          /* Unlink existing files. */
    56 int     hflag;                          /* Check new name for symlink first. */
    57 int     iflag;                          /* Interactive mode. */
    58 int     sflag;                          /* Symbolic, not hard, link. */
    59 int     vflag;                          /* Verbose output. */
     55static int      fflag;                          /* Unlink existing files. */
     56static int      hflag;                          /* Check new name for symlink first. */
     57static int      iflag;                          /* Interactive mode. */
     58static int      sflag;                          /* Symbolic, not hard, link. */
     59static int      vflag;                          /* Verbose output. */
    6060                                        /* System link call. */
    61 int (*linkf)(const char *, const char *);
    62 char    linkch;
    63 
    64 int     linkit(const char *, const char *, int);
    65 void    usage(void);
     61static int (*linkf)(const char *, const char *);
     62static char     linkch;
     63
     64static int      linkit(const char *, const char *, int);
     65static void     usage(void);
    6666
    6767int
    68 main(int argc, char *argv[])
     68kmk_builtin_ln(int argc, char *argv[])
    6969{
    7070        struct stat sb;
Note: See TracChangeset for help on using the changeset viewer.