diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2021-02-16 16:27:35 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2021-02-16 16:27:35 +0000 |
commit | d9b3f848951b2cd0b0c1043ab7d34caca8c61936 (patch) | |
tree | 033cdb6c314a4c546461797ec04f54b3ee32b86c /usr.bin/ftp/Makefile | |
parent | 7863d4c0ce14c3d817bd4c09078eaf133f8feab3 (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 'usr.bin/ftp/Makefile')
-rw-r--r-- | usr.bin/ftp/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ftp/Makefile b/usr.bin/ftp/Makefile index 3eb5a9c261d..38480bfaefb 100644 --- a/usr.bin/ftp/Makefile +++ b/usr.bin/ftp/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.34 2021/01/27 22:27:41 sthen Exp $ +# $OpenBSD: Makefile,v 1.35 2021/02/16 16:27:34 naddy Exp $ # Define SMALL to disable command line editing and some other features, # NOSSL to disable https support. @@ -8,8 +8,8 @@ PROG= ftp SRCS= cmds.c cmdtab.c complete.c cookie.c domacro.c fetch.c ftp.c \ list.c main.c ruserpass.c small.c stringlist.c util.c -LDADD+= -ledit -lcurses -lutil -ltls -lssl -lcrypto -DPADD+= ${LIBEDIT} ${LIBCURSES} ${LIBUTIL} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} +LDADD+= -ledit -lcurses -ltls -lssl -lcrypto +DPADD+= ${LIBEDIT} ${LIBCURSES} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} #COPTS+= -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes |