summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/extern.h
diff options
context:
space:
mode:
authorpyr <pyr@openbsd.org>2007-06-06 19:15:33 +0000
committerpyr <pyr@openbsd.org>2007-06-06 19:15:33 +0000
commit723ee195e697c9aa73bc9f5db4f2ef484b22ebe6 (patch)
tree119b2db78360c2ef5d2d916b6e674efd6888f23e /usr.bin/ftp/extern.h
parent- Recognize the 8110SCe 8169 revision in re(4) (diff)
downloadwireguard-openbsd-723ee195e697c9aa73bc9f5db4f2ef484b22ebe6.tar.xz
wireguard-openbsd-723ee195e697c9aa73bc9f5db4f2ef484b22ebe6.zip
Remove the .netrc parser when compiling a SMALL binary.
there is no .netrc file on the install media and keeping the parser shaves a good deal of bytes in the binary. ok millert@, "go on" deraadt@, "makes sense" steven@
Diffstat (limited to 'usr.bin/ftp/extern.h')
-rw-r--r--usr.bin/ftp/extern.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h
index d12b7c4ba58..37287a60f60 100644
--- a/usr.bin/ftp/extern.h
+++ b/usr.bin/ftp/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.28 2005/10/12 06:50:42 otto Exp $ */
+/* $OpenBSD: extern.h,v 1.29 2007/06/06 19:15:33 pyr Exp $ */
/* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */
/*
@@ -149,7 +149,6 @@ void reset(int, char **);
void restart(int, char **);
void rmthelp(int, char **);
void rmtstatus(int, char **);
-int ruserpass(const char *, char **, char **, char **);
void sendrequest(const char *, const char *, const char *, int);
void setascii(int, char **);
void setbell(int, char **);
@@ -190,6 +189,10 @@ int togglevar(int, char **, int *, const char *);
void usage(void);
void user(int, char **);
+#ifndef SMALL
+int ruserpass(const char *, char **, char **, char **);
+#endif
+
extern jmp_buf abortprox;
extern int abrtflag;