Deleted Added
full compact
45c45
< "$FreeBSD: head/libexec/tftpd/tftpd.c 95496 2002-04-26 12:27:55Z ume $";
---
> "$FreeBSD: head/libexec/tftpd/tftpd.c 112452 2003-03-20 22:42:22Z dwmalone $";
106c106
< char *name;
---
> const char *name;
113c113
< static char *errtomsg(int);
---
> static const char *errtomsg(int);
115c115
< static void oack();
---
> static void oack(void);
116a117,119
> static void timer(int);
> static void justquit(int);
>
127c130
< char *chuser = "nobody";
---
> const char *chuser = "nobody";
324c327
< char *f_mode;
---
> const char *f_mode;
335c338
< { 0 }
---
> { 0, NULL, NULL, NULL, 0 }
339c342
< char *o_type;
---
> const char *o_type;
343,345c346,348
< { "tsize" }, /* OPT_TSIZE */
< { "timeout" }, /* OPT_TIMEOUT */
< { NULL }
---
> { "tsize", NULL, 0 }, /* OPT_TSIZE */
> { "timeout", NULL, 0 }, /* OPT_TIMEOUT */
> { NULL, NULL, 0 }
582c585
< struct tftphdr *dp, *r_init();
---
> struct tftphdr *dp;
661c664
< struct tftphdr *dp, *w_init();
---
> struct tftphdr *dp;
734c737
< char *e_msg;
---
> const char *e_msg;
748c751
< static char *
---
> static const char *
751c754
< static char buf[20];
---
> static char ebuf[20];
758,759c761,762
< snprintf(buf, sizeof(buf), "error %d", error);
< return buf;
---
> snprintf(ebuf, sizeof(buf), "error %d", error);
> return ebuf;