diff options
Diffstat (limited to 'util/macros.h')
| -rw-r--r-- | util/macros.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/util/macros.h b/util/macros.h index d071793..4a773a2 100644 --- a/util/macros.h +++ b/util/macros.h @@ -29,6 +29,10 @@  #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))  #define ARRAY_END(array)  (&(array)[ARRAY_SIZE(array)]) +/* Used to name the elements of the array passed to pipe. */ +#define PIPE_READ  0 +#define PIPE_WRITE 1 +  /* Used for unused parameters to silence gcc warnings. */  #define UNUSED __attribute__((__unused__))  | 
