changeset 274:755e03bc7dcf noffle

[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.
author bears
date Sun, 10 Nov 2002 15:24:43 +0000
parents 18d6c61ed4e7
children 0880d6edaaa5
files ChangeLog src/fetch.c src/log.c
diffstat 3 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 <regex.h> 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 <jim.hague@acm.org>
 
--- 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;
--- 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;