summaryrefslogtreecommitdiff
path: root/usr.bin/make/job.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-09-14 13:32:11 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-09-14 13:32:11 +0000
commit28df6ffac43fe362569ebdb390fe1e7dd994c877 (patch)
tree306f06672ccb6c8ba9c67d1b19544e6b70551f16 /usr.bin/make/job.h
parent912ebd4a27f63943fb63420edfac122743be32ca (diff)
Some systematic clean-up.
- UNUSED macro that expands to __attribute__((unused)) for gcc - move rcsid around so that they can be tagged UNUSED. - activate -Wunused. - use UNUSED instead of kludgy junk for function arguments. - add extern to all extern prototypes. - update comments in lst.h. - clean up var.c a little bit, constifying arguments, updating comments...
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r--usr.bin/make/job.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h
index 07955d14492..40aa45ce3f7 100644
--- a/usr.bin/make/job.h
+++ b/usr.bin/make/job.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: job.h,v 1.7 2000/06/17 14:38:17 espie Exp $ */
+/* $OpenBSD: job.h,v 1.8 2000/09/14 13:32:07 espie Exp $ */
/* $NetBSD: job.h,v 1.5 1996/11/06 17:59:10 christos Exp $ */
/*
@@ -219,19 +219,19 @@ extern LIST stoppedJobs; /* List of jobs that are stopped or didn't
extern Boolean jobFull; /* Non-zero if no more jobs should/will start*/
-void Job_Touch __P((GNode *, Boolean));
-Boolean Job_CheckCommands __P((GNode *, void (*abortProc )(char *, ...)));
-void Job_CatchChildren __P((Boolean));
-void Job_CatchOutput __P((void));
-void Job_Make __P((GNode *));
-void Job_Init __P((int, int));
-Boolean Job_Full __P((void));
-Boolean Job_Empty __P((void));
-ReturnStatus Job_ParseShell __P((char *));
-int Job_Finish __P((void));
-void Job_End __P((void));
-void Job_Wait __P((void));
-void Job_AbortAll __P((void));
-void JobFlagForMigration __P((int));
+extern void Job_Touch __P((GNode *, Boolean));
+extern Boolean Job_CheckCommands __P((GNode *, void (*abortProc )(char *, ...)));
+extern void Job_CatchChildren __P((Boolean));
+extern void Job_CatchOutput __P((void));
+extern void Job_Make __P((GNode *));
+extern void Job_Init __P((int, int));
+extern Boolean Job_Full __P((void));
+extern Boolean Job_Empty __P((void));
+extern ReturnStatus Job_ParseShell __P((char *));
+extern int Job_Finish __P((void));
+extern void Job_End __P((void));
+extern void Job_Wait __P((void));
+extern void Job_AbortAll __P((void));
+extern void JobFlagForMigration __P((int));
#endif /* _JOB_H_ */