fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork'
diff --git a/lib/hostip.c b/lib/hostip.c
index 0290192..f8c2be6 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -524,7 +524,7 @@
                         const char *hostname,
                         int port,
                         struct Curl_dns_entry **entry,
-                        long timeout)
+                        volatile long timeout)
 {
 #ifdef USE_ALARM_TIMEOUT 
 #ifdef HAVE_SIGACTION
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index fc51b6e..443eea9 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -760,9 +760,9 @@
  */
 static void sendtftp(struct testcase *test, struct formats *pf)
 {
-  struct tftphdr *dp;
-  struct tftphdr *ap;    /* ack packet */
-  unsigned short block = 1;
+  struct tftphdr * volatile dp;
+  struct tftphdr * volatile ap;    /* ack packet */
+  volatile unsigned short block = 1;
   int size;
   ssize_t n;
 #if defined(HAVE_ALARM) && defined(SIGALRM)
@@ -835,9 +835,9 @@
  */
 static void recvtftp(struct testcase *test, struct formats *pf)
 {
-  struct tftphdr *dp;
-  struct tftphdr *ap;    /* ack buffer */
-  unsigned short block = 0;
+  struct tftphdr * volatile dp;
+  struct tftphdr * volatile ap;    /* ack buffer */
+  volatile unsigned short block = 0;
   ssize_t n, size;
 #if defined(HAVE_ALARM) && defined(SIGALRM)
   mysignal(SIGALRM, timer);