summaryrefslogtreecommitdiff
path: root/usr.bin/make/init.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-10-02 10:29:32 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-10-02 10:29:32 +0000
commitf52927cb1ba328594c8f4b934c14bca4916ef8e5 (patch)
tree14c58f1946f28de41a69025afb0f588293831ec2 /usr.bin/make/init.c
parent6624e8c7ba7439673221e27b9603d172cd60d99a (diff)
more changes, discussed and tested by various people.
- put back some job control, turns out it's necessary when we don't run a shell. - zap old #ifdef CLEANUP code... probably doesn't even compile. - kill most of the OP_LIB code. Just keep a wee little bit for compatibility (deprecated .LIBS and .INCLUDES, warns for weird dependencies instead of erroring out). - much improved debugging and -p output: sort variables, targets, rules, output stuff in a nicer format mimicing input. - better error message when no command is found, explain where the target comes from. - sort final error list by file. - show system files in errors as <bsd.prog.mk> - reincorporate random delay, that was dropped - optimize siginfo output by not regenerating the whole string each time. - finish zapping old LocationInfo field that's no longer used.
Diffstat (limited to 'usr.bin/make/init.c')
-rw-r--r--usr.bin/make/init.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.bin/make/init.c b/usr.bin/make/init.c
index 98320561ced..215839ffca4 100644
--- a/usr.bin/make/init.c
+++ b/usr.bin/make/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.6 2010/07/19 19:46:44 espie Exp $ */
+/* $OpenBSD: init.c,v 1.7 2012/10/02 10:29:30 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -53,17 +53,3 @@ Init(void)
Arch_Init();
Suff_Init();
}
-
-#ifdef CLEANUP
-void
-End(void)
-{
- Suff_End();
- Targ_End();
- Arch_End();
- Var_End();
- Parse_End();
- Dir_End();
- Job_End();
-}
-#endif