convert for inetd
[unix-history] / usr / src / libexec / tftpd / tftpd.c
index 59c0432..e6e28dc 100644 (file)
@@ -1,4 +1,6 @@
-/*     tftpd.c 4.9     83/06/12        */
+#ifndef lint
+static char sccsid[] = "@(#)tftpd.c    4.12 (Berkeley) %G%";
+#endif
 
 /*
  * Trivial file transfer protocol server.
 
 /*
  * Trivial file transfer protocol server.
@@ -6,21 +8,20 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
+#include <sys/wait.h>
+#include <sys/stat.h>
 
 #include <netinet/in.h>
 
 #include <arpa/tftp.h>
 
 #include <signal.h>
 
 #include <netinet/in.h>
 
 #include <arpa/tftp.h>
 
 #include <signal.h>
-#include <stat.h>
 #include <stdio.h>
 #include <stdio.h>
-#include <wait.h>
 #include <errno.h>
 #include <ctype.h>
 #include <netdb.h>
 #include <setjmp.h>
 
 #include <errno.h>
 #include <ctype.h>
 #include <netdb.h>
 #include <setjmp.h>
 
-#define        DEBUG   1
 #define        TIMEOUT         5
 
 extern int errno;
 #define        TIMEOUT         5
 
 extern int errno;