diff --git a/src/engine/execcmd.h b/src/engine/execcmd.h index 488978f49..950563d4a 100644 --- a/src/engine/execcmd.h +++ b/src/engine/execcmd.h @@ -17,6 +17,7 @@ #include "lists.h" #include "strings.h" + #include typedef struct timing_info @@ -34,7 +35,12 @@ typedef void (* ExecCmdCallback) timing_info *, char const * invoked_command, char const * command_output -) ; +); + +/* Status codes passed to ExecCmdCallback routines. */ +#define EXEC_CMD_OK 0 +#define EXEC_CMD_FAIL 1 +#define EXEC_CMD_INTR 2 void exec_cmd ( @@ -48,10 +54,6 @@ void exec_cmd int exec_wait(); -#define EXEC_CMD_OK 0 -#define EXEC_CMD_FAIL 1 -#define EXEC_CMD_INTR 2 - /****************************************************************************** * *