Fix compiler warnings for shadowed variables. Make 'conceal' a long instead
of int.
diff --git a/src/main.c b/src/main.c
index 0f29255..1b2e6ee 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3342,8 +3342,8 @@
}
void
-time_msg(msg, tv_start)
- char *msg;
+time_msg(mesg, tv_start)
+ char *mesg;
void *tv_start; /* only for do_source: start time; actually
(struct timeval *) */
{
@@ -3352,7 +3352,7 @@
if (time_fd != NULL)
{
- if (strstr(msg, "STARTING") != NULL)
+ if (strstr(mesg, "STARTING") != NULL)
{
gettimeofday(&start, NULL);
prev_timeval = start;
@@ -3370,7 +3370,7 @@
fprintf(time_fd, " ");
time_diff(&prev_timeval, &now);
prev_timeval = now;
- fprintf(time_fd, ": %s\n", msg);
+ fprintf(time_fd, ": %s\n", mesg);
}
}