]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
make funcs static
authorwessels <>
Thu, 23 Oct 1997 01:23:45 +0000 (01:23 +0000)
committerwessels <>
Thu, 23 Oct 1997 01:23:45 +0000 (01:23 +0000)
src/cf_gen.cc
src/peer_select.cc

index 3c69e8d94d7715acc04d1c7bf235359b389011a9..b87b40c7c62ae2fd337095938aa08967187aa9b7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cf_gen.cc,v 1.9 1997/08/25 03:52:17 wessels Exp $
+ * $Id: cf_gen.cc,v 1.10 1997/10/22 19:23:45 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Max Okumoto
@@ -283,7 +283,7 @@ gen_default(Entry * head, FILE * fp)
     Entry *entry;
     int rc = 0;
     fprintf(fp,
-       "void\n"
+       "static void\n"
        "default_line(const char *s)\n"
        "{\n"
        "\tLOCAL_ARRAY(char, tmp_line, BUFSIZ);\n"
@@ -294,7 +294,7 @@ gen_default(Entry * head, FILE * fp)
        "}\n"
        );
     fprintf(fp,
-       "void\n"
+       "static void\n"
        "default_all(void)\n"
        "{\n"
        "\tcfg_filename = \"Default Configuration\";\n"
@@ -331,7 +331,7 @@ gen_default_if_none(Entry * head, FILE * fp)
 {
     Entry *entry;
     fprintf(fp,
-       "void\n"
+       "static void\n"
        "defaults_if_none(void)\n"
        "{\n"
        );
@@ -400,7 +400,7 @@ gen_dump(Entry * head, FILE * fp)
 {
     Entry *entry;
     fprintf(fp,
-       "void\n"
+       "static void\n"
        "dump_config(StoreEntry *entry)\n"
        "{\n"
        );
@@ -421,7 +421,7 @@ gen_free(Entry * head, FILE * fp)
 {
     Entry *entry;
     fprintf(fp,
-       "void\n"
+       "static void\n"
        "free_all(void)\n"
        "{\n"
        );
index f0921cc139dcdacfb7bb80bb9f0e61ab304d4bfd..b5c786bcdf9e5ed9441f7cea480968efc3b25eab 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: peer_select.cc,v 1.27 1997/08/25 02:19:33 wessels Exp $
+ * $Id: peer_select.cc,v 1.28 1997/10/22 19:23:45 wessels Exp $
  *
  * DEBUG: section 44    Peer Selection Algorithm
  * AUTHOR: Duane Wessels
@@ -330,7 +330,7 @@ peerSelectFoo(ps_state * psstate)
     }
 }
 
-void
+static void
 peerPingTimeout(void *data)
 {
     ps_state *psstate = data;