summaryrefslogtreecommitdiff
path: root/distrib/special/ftp
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2021-02-16 16:27:35 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2021-02-16 16:27:35 +0000
commitd9b3f848951b2cd0b0c1043ab7d34caca8c61936 (patch)
tree033cdb6c314a4c546461797ec04f54b3ee32b86c /distrib/special/ftp
parent7863d4c0ce14c3d817bd4c09078eaf133f8feab3 (diff)
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/special/ftp')
-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>