# HG changeset patch # User bears # Date 1036941883 0 # Node ID 755e03bc7dcf3025c2c1f4895a4e5069b722f68b # Parent 18d6c61ed4e72392f062a5e6fa105ee6b08122cf [svn] * src/fetch.c,src/log.c: Make 'fetch' and 'log' variables static; they're not used outside their respective modules and cause a name clash on MacOS X. diff -r 18d6c61ed4e7 -r 755e03bc7dcf ChangeLog --- a/ChangeLog Sun Nov 10 15:06:33 2002 +0000 +++ b/ChangeLog Sun Nov 10 15:24:43 2002 +0000 @@ -22,6 +22,9 @@ printing a time_t with a %ld format. This will serve as a reminder that we assume time_t is the same size as a long. * src/configfile.c: #include requires sys/types.h be included first. +* src/fetch.c,src/log.c: Make 'fetch' and 'log' variables static; they're + not used outside their respective modules and cause a name clash on + MacOS X. Tue Oct 25 2002 Jim Hague diff -r 18d6c61ed4e7 -r 755e03bc7dcf src/fetch.c --- a/src/fetch.c Sun Nov 10 15:06:33 2002 +0000 +++ b/src/fetch.c Sun Nov 10 15:24:43 2002 +0000 @@ -1,7 +1,7 @@ /* fetch.c - $Id: fetch.c 403 2002-11-10 11:32:17Z bears $ + $Id: fetch.c 406 2002-11-10 15:24:43Z bears $ */ #if HAVE_CONFIG_H @@ -42,7 +42,7 @@ #define MAX_ARTICLE_CMDS_QUEUED 20 -struct Fetch +static struct Fetch { Bool ready; Str serv; diff -r 18d6c61ed4e7 -r 755e03bc7dcf src/log.c --- a/src/log.c Sun Nov 10 15:06:33 2002 +0000 +++ b/src/log.c Sun Nov 10 15:24:43 2002 +0000 @@ -1,7 +1,7 @@ /* log.c - $Id: log.c 300 2001-08-05 08:24:22Z bears $ + $Id: log.c 406 2002-11-10 15:24:43Z bears $ */ #if HAVE_CONFIG_H @@ -18,7 +18,7 @@ #define DEFAULT_DBG_MASK LOG_DBG_NONE -struct +static struct { Bool interactive; unsigned debugMask;