aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-03 03:42:44 +0000
committerYang Tse <yangsita@gmail.com>2008-10-03 03:42:44 +0000
commit445e4a9792f5a71ce3c38de2fa0334bf13cff15a (patch)
treeb9c290b33038b4dac20f94e26b91fb8bc47cbc7e
parentaec761916e912620ecfae7aa5ccf96b2b7f99538 (diff)
revert change introduced in tftpd.c revision 1.44
-rw-r--r--tests/server/tftpd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index 443eea970..fc51b6eff 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -760,9 +760,9 @@ static void timer(int signum)
*/
static void sendtftp(struct testcase *test, struct formats *pf)
{
- struct tftphdr * volatile dp;
- struct tftphdr * volatile ap; /* ack packet */
- volatile unsigned short block = 1;
+ struct tftphdr *dp;
+ struct tftphdr *ap; /* ack packet */
+ unsigned short block = 1;
int size;
ssize_t n;
#if defined(HAVE_ALARM) && defined(SIGALRM)
@@ -835,9 +835,9 @@ static void justtimeout(int signum)
*/
static void recvtftp(struct testcase *test, struct formats *pf)
{
- struct tftphdr * volatile dp;
- struct tftphdr * volatile ap; /* ack buffer */
- volatile unsigned short block = 0;
+ struct tftphdr *dp;
+ struct tftphdr *ap; /* ack buffer */
+ unsigned short block = 0;
ssize_t n, size;
#if defined(HAVE_ALARM) && defined(SIGALRM)
mysignal(SIGALRM, timer);