diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-21 05:00:49 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-21 05:00:49 +0000 |
commit | 9299db4d45f255b8fe176a23e4b33db8d85f5508 (patch) | |
tree | 93bb0788559a24bc5c8049b026b4d45a3c324cf9 /usr.bin/make | |
parent | 2b420f805f31d3140396e09beb8a7a98056d23af (diff) |
remove prototypes with no matching function and externs with no var
partly checked by millert@
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/error.h | 5 | ||||
-rw-r--r-- | usr.bin/make/init.h | 3 | ||||
-rw-r--r-- | usr.bin/make/job.h | 3 | ||||
-rw-r--r-- | usr.bin/make/targ.c | 7 | ||||
-rw-r--r-- | usr.bin/make/targ.h | 3 | ||||
-rw-r--r-- | usr.bin/make/var.h | 5 |
6 files changed, 6 insertions, 20 deletions
diff --git a/usr.bin/make/error.h b/usr.bin/make/error.h index a9ea1b4bf6b..6a5f83c09f2 100644 --- a/usr.bin/make/error.h +++ b/usr.bin/make/error.h @@ -1,6 +1,6 @@ #ifndef ERROR_H #define ERROR_H -/* $OpenBSD: error.h,v 1.13 2015/09/27 16:58:16 guenther Exp $ */ +/* $OpenBSD: error.h,v 1.14 2024/05/21 05:00:48 jsg Exp $ */ /* * Copyright (c) 2001 Marc Espie. @@ -59,7 +59,4 @@ extern void Finish(void); extern void Parse_Error(int, const char *, ...) __attribute__((__format__ (printf, 2, 3))); extern int fatal_errors; -/* Needed for fatal errors: we have to know whether we must abort other jobs - * or not */ -extern bool supervise_jobs; #endif diff --git a/usr.bin/make/init.h b/usr.bin/make/init.h index 2b9ca15ee25..3720999ce0e 100644 --- a/usr.bin/make/init.h +++ b/usr.bin/make/init.h @@ -1,6 +1,6 @@ #ifndef INIT_H #define INIT_H -/* $OpenBSD: init.h,v 1.3 2010/07/19 19:46:44 espie Exp $ */ +/* $OpenBSD: init.h,v 1.4 2024/05/21 05:00:48 jsg Exp $ */ /* * Copyright (c) 2001 Marc Espie. @@ -32,6 +32,5 @@ * modules. */ extern void Init(void); -extern void End(void); #endif diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index 3b86c90a1f9..538605ec432 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -1,7 +1,7 @@ #ifndef _JOB_H_ #define _JOB_H_ -/* $OpenBSD: job.h,v 1.38 2020/06/03 12:41:39 espie Exp $ */ +/* $OpenBSD: job.h,v 1.39 2024/05/21 05:00:48 jsg Exp $ */ /* $NetBSD: job.h,v 1.5 1996/11/06 17:59:10 christos Exp $ */ /* @@ -93,7 +93,6 @@ extern void handle_all_signals(void); extern void determine_expensive_job(Job *); extern Job *runningJobs, *errorJobs, *availableJobs; extern void debug_job_printf(const char *, ...); -extern void handle_one_job(Job *); extern int check_dying_signal(void); extern const char *basedirectory; diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c index 9e65e6a3e08..2a6fc595dd3 100644 --- a/usr.bin/make/targ.c +++ b/usr.bin/make/targ.c @@ -1,4 +1,4 @@ -/* $OpenBSD: targ.c,v 1.86 2023/09/04 11:35:11 espie Exp $ */ +/* $OpenBSD: targ.c,v 1.87 2024/05/21 05:00:48 jsg Exp $ */ /* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */ /* @@ -88,11 +88,6 @@ * * Targ_Precious Return true if the target is precious and * should not be removed if we are interrupted. - * - * Debugging: - * Targ_PrintGraph Print out the entire graphm all variables - * and statistics for the directory cache. Should - * print something for suffixes, too, but... */ #include <limits.h> diff --git a/usr.bin/make/targ.h b/usr.bin/make/targ.h index 2d18fb61e27..5212d025616 100644 --- a/usr.bin/make/targ.h +++ b/usr.bin/make/targ.h @@ -1,6 +1,6 @@ #ifndef TARG_H #define TARG_H -/* $OpenBSD: targ.h,v 1.15 2020/01/13 15:41:53 espie Exp $ */ +/* $OpenBSD: targ.h,v 1.16 2024/05/21 05:00:48 jsg Exp $ */ /* * Copyright (c) 2001 Marc Espie. @@ -56,7 +56,6 @@ extern bool Targ_Silent(GNode *); extern bool Targ_Precious(GNode *); extern void Targ_PrintCmd(void *); extern void Targ_PrintType(int); -extern void Targ_PrintGraph(int); extern bool node_is_real(GNode *); extern GNode *begin_node, *end_node, *interrupt_node, *DEFAULT; diff --git a/usr.bin/make/var.h b/usr.bin/make/var.h index a831b581aec..17eec8ff03a 100644 --- a/usr.bin/make/var.h +++ b/usr.bin/make/var.h @@ -1,6 +1,6 @@ #ifndef VAR_H #define VAR_H -/* $OpenBSD: var.h,v 1.20 2019/12/21 15:31:54 espie Exp $ */ +/* $OpenBSD: var.h,v 1.21 2024/05/21 05:00:48 jsg Exp $ */ /* * Copyright (c) 2001 Marc Espie. * @@ -75,9 +75,6 @@ extern void Var_Deletei(const char *, const char *); /* SymTable_Init(t); * Inits the local symtable in a GNode. */ extern void SymTable_Init(SymTable *); -/* SymTable_destroy(t); - * Destroys the local symtable in a GNode. */ -extern void SymTable_Destroy(SymTable *); /* Several ways to parse a variable specification. */ /* value = Var_Parse(varspec, ctxt, undef_is_bad, &length, &freeit); |