about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTAtom.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTAtom.c')
-rw-r--r--WWW/Library/Implementation/HTAtom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTAtom.c b/WWW/Library/Implementation/HTAtom.c
index e4af2962..66e666dd 100644
--- a/WWW/Library/Implementation/HTAtom.c
+++ b/WWW/Library/Implementation/HTAtom.c
@@ -29,7 +29,9 @@ PRIVATE BOOL initialised = NO;
 /*
  *	To free off all atoms.
  */
+#ifdef LY_FIND_LEAKS
 PRIVATE void free_atoms NOPARAMS;
+#endif
 
 /*
  *	Alternate hashing function.
@@ -85,6 +87,7 @@ PUBLIC HTAtom * HTAtom_for ARGS1(CONST char *, string)
     return a;
 }
 
+#ifdef LY_FIND_LEAKS
 /*
  *	Purpose:	Free off all atoms.
  *	Arguments:	void
@@ -116,6 +119,7 @@ PRIVATE void free_atoms NOARGS
 		}
 	}
 }
+#endif /* LY_FIND_LEAKS */
 
 PRIVATE BOOL mime_match ARGS2(CONST char *, name,
 			      CONST char *, templ)