From 9a7cfea9e5f6a8289e802dc6d39be521760bc525 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Mon, 29 Jan 2007 03:18:59 +0000
Subject: fixup shadowed warnings

---
 test/time/clocktest.c | 2 +-
 test/time/test_time.c | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

(limited to 'test/time')

diff --git a/test/time/clocktest.c b/test/time/clocktest.c
index f2b3ea73a..a5b2c09e7 100644
--- a/test/time/clocktest.c
+++ b/test/time/clocktest.c
@@ -7,7 +7,7 @@
 volatile int gotit = 0;
 
 static void
-alarm_handler (int signal)
+alarm_handler (int signum)
 {
     gotit = 1;
 }
diff --git a/test/time/test_time.c b/test/time/test_time.c
index 20216ed9d..2ce819a3f 100644
--- a/test/time/test_time.c
+++ b/test/time/test_time.c
@@ -37,15 +37,15 @@ main (int argc, char **argv)
       char buf[BUFSIZ];
       if (argc > 0)
 	{
-	  static char buf[BUFSIZ];
-	  sprintf(buf, "TZ=%s", *argv);
-	  if (putenv(buf))
+	  static char tzenvbuf[BUFSIZ];
+	  sprintf(tzenvbuf, "TZ=%s", *argv);
+	  if (putenv(tzenvbuf))
 	    {
 	      puts("putenv failed.");
 	      lose = 1;
 	    }
 	  else
-	    puts (buf);
+	    puts (tzenvbuf);
 	}
       tzset();
       tbuf.tm_year = 72;
-- 
cgit v1.2.3