Add readline support in tftp client; some additional minor cleanups.

This commit is contained in:
hpa 2001-11-12 23:27:48 +00:00
parent 9570005ba2
commit 9753e234c6
5 changed files with 46 additions and 19 deletions

View file

@ -65,19 +65,8 @@ static const char *rcsid UNUSED =
#include <string.h>
#include <unistd.h>
#include "../config.h"
#include "extern.h"
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifndef HAVE_SIGSETJMP
#define sigsetjmp(x,y) setjmp(x)
#define siglongjmp(x,y) longjmp(x,y)
#define sigjmp_buf jmp_buf
#endif
extern struct sockaddr_in peeraddr; /* filled in by main */
extern int f; /* the opened socket */
extern int trace;