summaryrefslogtreecommitdiffstats
path: root/distrib
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2021-02-16 16:27:34 +0000
committernaddy <naddy@openbsd.org>2021-02-16 16:27:34 +0000
commitbb1c3b3ff7308a1eedba8dc4780f76819332dbe8 (patch)
treea079adb2d368668196a6469c79259b56b8de364b /distrib
parentRevery previous hash alignment fix (diff)
downloadwireguard-openbsd-bb1c3b3ff7308a1eedba8dc4780f76819332dbe8.tar.xz
wireguard-openbsd-bb1c3b3ff7308a1eedba8dc4780f76819332dbe8.zip
make use of getline(3) in ftp(1)
Replace fparseln(3) with getline(3). This removes the only use of libutil.a(fparseln.o) from the ramdisk. Replace a complicated fgetln(3) idiom with the much simpler getline(3). ok jca@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/special/ftp/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/distrib/special/ftp/Makefile b/distrib/special/ftp/Makefile
index c394dfc815d..a716808026c 100644
--- a/distrib/special/ftp/Makefile
+++ b/distrib/special/ftp/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2019/05/16 12:44:17 florian Exp $
+# $OpenBSD: Makefile,v 1.15 2021/02/16 16:27:34 naddy Exp $
CFLAGS+=-DSMALL -DNOSSL
@@ -6,7 +6,4 @@ PROG= ftp
SRCS= fetch.c ftp.c main.c small.c util.c
.PATH: ${.CURDIR}/../../../usr.bin/ftp
-LDADD+= -lutil
-DPADD+= ${LIBUTIL}
-
.include <bsd.prog.mk>