diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/chflags/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/chflags/chflags.c | 2 | ||||
-rw-r--r-- | usr.bin/find/Makefile | 3 | ||||
-rw-r--r-- | usr.bin/find/function.c | 2 | ||||
-rw-r--r-- | usr.bin/xinstall/Makefile | 2 |
5 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/chflags/Makefile b/usr.bin/chflags/Makefile index 30b6699..b545bfa 100644 --- a/usr.bin/chflags/Makefile +++ b/usr.bin/chflags/Makefile @@ -5,5 +5,7 @@ NOSHARED?=yes PROG= chflags CFLAGS+=-Wall +.PATH: ${.CURDIR}/../../lib/libc/gen +SRCS= chflags.c setflags.c .include <bsd.prog.mk> diff --git a/usr.bin/chflags/chflags.c b/usr.bin/chflags/chflags.c index daeab4d..784243e 100644 --- a/usr.bin/chflags/chflags.c +++ b/usr.bin/chflags/chflags.c @@ -56,6 +56,8 @@ static const char rcsid[] = #include <string.h> #include <unistd.h> +extern u_long setflags __P((char **, u_long *, u_long *)); + void usage __P((void)); int diff --git a/usr.bin/find/Makefile b/usr.bin/find/Makefile index 1d962b9..0b7db36 100644 --- a/usr.bin/find/Makefile +++ b/usr.bin/find/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= find -SRCS= find.c function.c ls.c main.c misc.c operator.c option.c +SRCS= find.c function.c ls.c main.c misc.c operator.c option.c setflags.c +.PATH: ${.CURDIR}/../../lib/libc/gen .include <bsd.prog.mk> diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 7033bde..0dad26b 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -71,6 +71,8 @@ static char rcsid[] = "$FreeBSD$"; } \ } +u_long setflags __P((char **, u_long *, u_long *)); + static PLAN *palloc __P((enum ntype, int (*) __P((PLAN *, FTSENT *)))); /* diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile index 2c5dc9f..c8bd6e3 100644 --- a/usr.bin/xinstall/Makefile +++ b/usr.bin/xinstall/Makefile @@ -2,6 +2,8 @@ # $FreeBSD$ PROG= xinstall +SRCS= setflags.c xinstall.c +.PATH: ${.CURDIR}/../../lib/libc/gen MAN1= install.1 install: maninstall |