summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-03-30 14:18:15 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-03-30 14:18:15 +0000
commit80fda637a4d51b4a427cbc95550a47f564aaf5dc (patch)
treeba481e2df0f957b3ceada524b337ddf042dd18fb /usr.bin/tftp
parent122ad926462b87b886560db65a41aee9c8b0621e (diff)
downloadFreeBSD-src-80fda637a4d51b4a427cbc95550a47f564aaf5dc.zip
FreeBSD-src-80fda637a4d51b4a427cbc95550a47f564aaf5dc.tar.gz
Clean up vendor ID and FBSDID.
We now seem to include <arpa/inet.h> to get ntoh*.
Diffstat (limited to 'usr.bin/tftp')
-rw-r--r--usr.bin/tftp/tftp.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/tftp/tftp.c b/usr.bin/tftp/tftp.c
index a64ea78..7b4eb95 100644
--- a/usr.bin/tftp/tftp.c
+++ b/usr.bin/tftp/tftp.c
@@ -31,14 +31,15 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
-
+#if 0
#ifndef lint
-static const char sccsid[] = "@(#)tftp.c 8.1 (Berkeley) 6/6/93";
+static char sccsid[] = "@(#)tftp.c 8.1 (Berkeley) 6/6/93";
+#endif /* not lint */
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/* Many bug fixes are from Jim Guyton <guyton@rand-unix> */
/*
@@ -50,6 +51,7 @@ static const char sccsid[] = "@(#)tftp.c 8.1 (Berkeley) 6/6/93";
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <arpa/tftp.h>
#include <err.h>
OpenPOWER on IntegriCloud