summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/targ.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-12-17 13:20:19 +0000
committerharti <harti@FreeBSD.org>2004-12-17 13:20:19 +0000
commitebeffbcdeb1dbe7f6784d8aa322bbba797e7b07c (patch)
tree6eb76b042b6e1af4a0e99fe9fd18b8086748cbe0 /usr.bin/make/targ.c
parentfbe42b3f98a3d07f38177307459c6bfaeca73aef (diff)
downloadFreeBSD-src-ebeffbcdeb1dbe7f6784d8aa322bbba797e7b07c.zip
FreeBSD-src-ebeffbcdeb1dbe7f6784d8aa322bbba797e7b07c.tar.gz
Remove all the cleanup functions. There is no reason to free memory
just before exiting (especially given the number of memory leaks) - it just costs time.
Diffstat (limited to 'usr.bin/make/targ.c')
-rw-r--r--usr.bin/make/targ.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index eff08ee..cce8bcc 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -50,8 +50,6 @@ __FBSDID("$FreeBSD$");
* Interface:
* Targ_Init Initialization procedure.
*
- * Targ_End Cleanup the module
- *
* Targ_NewGN Create a new GNode for the passed target
* (string). The node is *not* placed in the
* hash table, though all its fields are
@@ -120,26 +118,6 @@ Targ_Init(void)
/*-
*-----------------------------------------------------------------------
- * Targ_End --
- * Finalize this module
- *
- * Results:
- * None
- *
- * Side Effects:
- * All lists and gnodes are cleared
- *-----------------------------------------------------------------------
- */
-void
-Targ_End(void)
-{
-
- Lst_Destroy(&allTargets, NOFREE);
- Hash_DeleteTable(&targets);
-}
-
-/*-
- *-----------------------------------------------------------------------
* Targ_NewGN --
* Create and initialize a new graph node
*
OpenPOWER on IntegriCloud