]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
rename cf_parser.c to cf_parser.h to reduce difference between HEAD and automake...
authorrobertc <>
Thu, 23 Aug 2001 19:20:46 +0000 (19:20 +0000)
committerrobertc <>
Thu, 23 Aug 2001 19:20:46 +0000 (19:20 +0000)
src/Makefile.in
src/cache_cf.cc
src/cf_gen.cc

index 54d7121ba1a6e4d5b4808dc1b2e6152552fcb494..c1d6905a662751bede8a8971f57620a27e630b2f 100644 (file)
@@ -1,7 +1,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.205 2001/08/22 09:25:41 robertc Exp $
+#  $Id: Makefile.in,v 1.206 2001/08/23 13:20:46 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -253,12 +253,12 @@ cache_diff: cache_diff.o debug.o globals.o store_key_md5.o
 test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key_md5.o
        $(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
 
-cache_cf.o: cf_parser.c
+cache_cf.o: cf_parser.h
 
-squid.conf.default: cf_parser.c
+squid.conf.default: cf_parser.h
        @sh -c "test -f squid.conf.default || ./cf_gen cf.data"
 
-cf_parser.c: cf.data cf_gen
+cf_parser.h: cf.data cf_gen
        ./cf_gen cf.data
 
 cf_gen: cf_gen.o
@@ -424,7 +424,7 @@ install-pinger:
 
 clean: 
        -rm -rf *.o *pure_* core $(PROGS) $(UTILS) $(CGIPROGS) $(SUID_UTILS)
-       -rm -f cf_gen cf_gen_defines.h cf_parser.c cf.data globals.c string_arrays.c
+       -rm -f cf_gen cf_gen_defines.h cf_parser.h cf.data globals.c string_arrays.c
        -rm -f store_modules.c repl_modules.c auth_modules.c squid.conf.default
        @for dir in $(SUBDIRS); do \
                echo "Making $@ in $$dir..."; \
@@ -443,5 +443,5 @@ distclean:  clean
 tags:
        ctags *.[ch] ../include/*.h ../lib/*.[ch]
 
-depend: cf_parser.c
+depend: cf_parser.h
        $(MAKEDEPEND) $(INCLUDE) -fMakefile $(srcdir)/*.c
index a1961a025ad44ad91a9818cbbee5013f58ba5467..0bda6cd0628744d4c2a233649560432e0d7d441f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.389 2001/08/19 16:28:33 wessels Exp $
+ * $Id: cache_cf.cc,v 1.390 2001/08/23 13:20:46 robertc Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -2075,7 +2075,7 @@ dump_removalpolicy(StoreEntry * entry, const char *name, RemovalPolicySettings *
 }
 
 
-#include "cf_parser.c"
+#include "cf_parser.h"
 
 peer_t
 parseNeighborType(const char *s)
index 82c434baa0ed80f8f4d0602f96fdc9ee6f21da73..fa38d2a6a69f62e46fd811fcf89f4cdfc66d30d1 100644 (file)
@@ -1,8 +1,8 @@
 
 /*
- * $Id: cf_gen.cc,v 1.41 2001/08/19 03:49:38 robertc Exp $
+ * $Id: cf_gen.cc,v 1.42 2001/08/23 13:20:46 robertc Exp $
  *
- * DEBUG: none          Generate squid.conf.default and cf_parser.c
+ * DEBUG: none          Generate squid.conf.default and cf_parser.h
  * AUTHOR: Max Okumoto
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -39,7 +39,7 @@
  *             (ie it creates the squid.conf.default file from the cf.data file)
  *
  *             The output files are as follows:
- *             cf_parser.c - this file contains, default_all() which
+ *             cf_parser.h - this file contains, default_all() which
  *                       initializes variables with the default
  *                       values, parse_line() that parses line from
  *                       squid.conf.default, dump_config that dumps the
@@ -76,7 +76,7 @@
 #include "util.h"
 
 #define MAX_LINE       1024    /* longest configuration line */
-#define _PATH_PARSER           "cf_parser.c"
+#define _PATH_PARSER           "cf_parser.h"
 #define _PATH_SQUID_CONF       "squid.conf.default"
 
 enum State {