forked from mirrors/tftp-hpa-google
Quiet more warnings.
This commit is contained in:
parent
4bcf957aaf
commit
0034637792
3 changed files with 28 additions and 6 deletions
|
@ -36,10 +36,13 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "tftpsubs.h"
|
||||
|
||||
#ifndef lint
|
||||
/* static char sccsid[] = "@(#)tftp.c 8.1 (Berkeley) 6/6/93"; */
|
||||
/* static char rcsid[] = "$OpenBSD: tftp.c,v 1.4 1997/08/06 06:43:45 deraadt Exp $"; */
|
||||
static const char *rcsid = "tftp-hpa $Id$";
|
||||
static const char *rcsid UNUSED =
|
||||
"tftp-hpa $Id$";
|
||||
#endif /* not lint */
|
||||
|
||||
/* Many bug fixes are from Jim Guyton <guyton@rand-unix> */
|
||||
|
@ -64,7 +67,6 @@ static const char *rcsid = "tftp-hpa $Id$";
|
|||
|
||||
#include "../config.h"
|
||||
#include "extern.h"
|
||||
#include "tftpsubs.h"
|
||||
|
||||
void bsd_signal(int, void (*)(int));
|
||||
|
||||
|
@ -449,6 +451,8 @@ timer(int sig)
|
|||
{
|
||||
int save_errno = errno;
|
||||
|
||||
(void)sig; /* Shut up unused warning */
|
||||
|
||||
timeout += rexmtval;
|
||||
if (timeout >= maxtimeout) {
|
||||
printf("Transfer timed out.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue