Commit 9ffe22f9 by Bruce Korb

merging from no_bogosity

From-SVN: r29924
parent bf66d77a
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# define volatile # define volatile
#endif #endif
STATIC volatile bool read_pipe_timeout; STATIC volatile t_bool read_pipe_timeout;
static t_pchar def_args[] = static t_pchar def_args[] =
{ (char *) NULL, (char *) NULL }; { (char *) NULL, (char *) NULL };
......
...@@ -72,17 +72,22 @@ typedef struct ...@@ -72,17 +72,22 @@ typedef struct
typedef char *t_pchar; typedef char *t_pchar;
#ifndef NOPROCESS
#define NOPROCESS ((pid_t) -1) #define NOPROCESS ((pid_t) -1)
#define NULLPROCESS ((pid_t)0) #define NULLPROCESS ((pid_t)0)
#define EXIT_PANIC 99 #define EXIT_PANIC 99
#ifndef HAVE_T_BOOL_ENUM
#define HAVE_T_BOOL_ENUM
typedef enum typedef enum
{ {
BOOL_FALSE, BOOL_TRUE BOOL_FALSE, BOOL_TRUE
} bool; } t_bool;
#endif
#define _P_(p) () #define _P_(p) ()
#endif
char *run_shell _P_ (( const char *pzCmd)); char *run_shell _P_ (( const char *pzCmd));
pid_t proc2_fopen _P_ (( t_pf_pair * p_pair, t_pchar * pp_args)); pid_t proc2_fopen _P_ (( t_pf_pair * p_pair, t_pchar * pp_args));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment