diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2020-01-13 15:08:09 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2020-01-13 15:08:09 +0000 |
commit | c18be3a0cd907a3f7aa07cb3580a353afe23c3a0 (patch) | |
tree | 3d865513b9359fd3df3b99d3702a9dd203c6fbf2 /usr.bin/make | |
parent | b4420e3c687a5bceed6ccc821d11909f8c0ee7e2 (diff) |
cleanup header
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/engine.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/make/engine.h b/usr.bin/make/engine.h index 495b8fbe7eb..f99029e9281 100644 --- a/usr.bin/make/engine.h +++ b/usr.bin/make/engine.h @@ -1,6 +1,6 @@ #ifndef ENGINE_H #define ENGINE_H -/* $OpenBSD: engine.h,v 1.15 2020/01/13 14:56:59 espie Exp $ */ +/* $OpenBSD: engine.h,v 1.16 2020/01/13 15:08:08 espie Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -103,19 +103,19 @@ struct Job_ { struct Job_ *next; /* singly linked list */ pid_t pid; /* Current command process id */ Location *location; - int exit_type; /* last child exit or signal */ -#define JOB_EXIT_OKAY 0 -#define JOB_EXIT_BAD 1 -#define JOB_SIGNALED 2 int code; /* exit status or signal code */ + unsigned short exit_type; /* last child exit or signal */ +#define JOB_EXIT_OKAY 0 +#define JOB_EXIT_BAD 1 +#define JOB_SIGNALED 2 + unsigned short flags; +#define JOB_SILENT 0x001 /* Command was silent */ +#define JOB_IS_EXPENSIVE 0x002 +#define JOB_LOST 0x004 /* sent signal to non-existing pid ? */ +#define JOB_ERRCHECK 0x008 /* command wants errcheck */ LstNode next_cmd; /* Next command to run */ char *cmd; /* Last command run */ GNode *node; /* Target of this job */ - unsigned short flags; -#define JOB_SILENT 0x001 /* Command was silent */ -#define JOB_IS_EXPENSIVE 0x002 -#define JOB_LOST 0x004 /* sent signal to non-existing pid ? */ -#define JOB_ERRCHECK 0x008 /* command wants errcheck */ }; /* Continuation-style running commands for the parallel engine */ |