diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-23 14:07:28 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-23 14:07:28 +0000 |
commit | 4d10c96aa62c8686fca53f1b412a5c00e0687d31 (patch) | |
tree | b1594bf15e53a237736e529bd4dfa3767d3fc853 /tests/server/tftp.h | |
parent | b701ea36a723b2d7700e23ae53e2c3145dfe7bda (diff) |
fix compiler warning
Diffstat (limited to 'tests/server/tftp.h')
-rw-r--r-- | tests/server/tftp.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/server/tftp.h b/tests/server/tftp.h index 6a11f6a80..b991875cc 100644 --- a/tests/server/tftp.h +++ b/tests/server/tftp.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -26,7 +26,7 @@ /* This file is a rewrite/clone of the arpa/tftp.h file for systems without it. */ -#define SEGSIZE 512 /* data segment size */ +#define SEGSIZE 512 /* data segment size */ #ifndef __GNUC__ #define __attribute__(x) @@ -46,11 +46,11 @@ struct tftphdr { #define th_code th_block #define th_msg th_data -#define RRQ 1 -#define WRQ 2 -#define DATA 3 -#define ACK 4 -#define ERROR 5 +#define opcode_RRQ 1 +#define opcode_WRQ 2 +#define opcode_DATA 3 +#define opcode_ACK 4 +#define opcode_ERROR 5 #define EUNDEF 0 #define ENOTFOUND 1 |