]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
rely on configure to properly set HAVE_MALLINFO and HAVE_MALLOPT
authorwessels <>
Thu, 28 Mar 1996 09:34:04 +0000 (09:34 +0000)
committerwessels <>
Thu, 28 Mar 1996 09:34:04 +0000 (09:34 +0000)
src/main.cc
src/stat.cc
src/tools.cc

index fa48db1cf28a78caee5f303b5d3c72082efffa9a..643e2e2e1ebc8236066a06815cc503474baa84af 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.cc,v 1.13 1996/03/27 20:21:43 wessels Exp $ */
+/* $Id: main.cc,v 1.14 1996/03/28 02:34:04 wessels Exp $ */
 
 #include "squid.h"
 
@@ -68,7 +68,7 @@ int main(argc, argv)
 
     setMaxFD();
 
-#if USE_MALLOPT
+#if HAVE_MALLOPT
     /* set malloc option */
     /* use small block algorithm for faster allocation */
     /* grain of small block */
index df5ca42474e420b9700b03e0342772ba8c08f86f..0c397a420620dd2de0d5cf6846ffbbae505e0061 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stat.cc,v 1.8 1996/03/27 18:15:53 wessels Exp $ */
+/* $Id: stat.cc,v 1.9 1996/03/28 02:34:04 wessels Exp $ */
 
 #include "squid.h"
 
@@ -395,7 +395,7 @@ void info_get(obj, sentry)
     struct rusage rusage;
 #endif
 
-#if USE_MALLINFO
+#if HAVE_MALLINFO
     struct mallinfo mp;
 #endif
 
@@ -464,7 +464,7 @@ void info_get(obj, sentry)
 
 #endif
 
-#if USE_MALLINFO
+#if HAVE_MALLINFO
     mp = mallinfo();
 
     sprintf(line, "{Memory usage for cached via mallinfo():}\n");
@@ -520,7 +520,7 @@ void info_get(obj, sentry)
 
 #endif /* LNG_MALLINFO */
 
-#endif /* USE_MALLINFO */
+#endif /* HAVE_MALLINFO */
 
     sprintf(line, "{File descriptor usage for cached:}\n");
     storeAppend(sentry, line, strlen(line));
index 8b5266c4c9d980239f33aba9db82a2535f7244ba..42b2898ebcccd83579b1b8af298283fcc0fa4227 100644 (file)
@@ -1,5 +1,5 @@
 
-/* $Id: tools.cc,v 1.13 1996/03/27 20:21:11 wessels Exp $ */
+/* $Id: tools.cc,v 1.14 1996/03/28 02:34:05 wessels Exp $ */
 
 #include "squid.h"
 
@@ -141,7 +141,7 @@ void fatal_dump(message)
 void dumpMallocStats(f)
      FILE *f;
 {
-#if USE_MALLINFO
+#if HAVE_MALLINFO
     struct mallinfo mp;
 
     if (!do_mallinfo)
@@ -176,7 +176,7 @@ void dumpMallocStats(f)
 #if PRINT_MMAP
     mallocmap();
 #endif /* PRINT_MMAP */
-#endif /* USE_MALLINFO */
+#endif /* HAVE_MALLINFO */
 }
 
 int PrintRusage(f, lf)
@@ -202,7 +202,7 @@ int PrintRusage(f, lf)
 
 int getHeapSize()
 {
-#if USE_MALLINFO
+#if HAVE_MALLINFO
     struct mallinfo mp;
 
     mp = mallinfo();