| changeset 58 | 02e539965ef4 |
| parent 44 | 9e76ee9729b6 |
--- a/src/lib/error.h Sun Mar 08 01:16:54 2009 +0200 +++ b/src/lib/error.h Sun Mar 08 01:33:45 2009 +0200 @@ -2,11 +2,7 @@ #define LIB_ERROR_H #include "log.h" - -/* - * err_t is always positive - */ -typedef unsigned int err_t; +#include "err.h" #define ERROR(...) do { err_func(__func__, __VA_ARGS__); goto error; } while (0) #define PERROR(...) do { perr_func(__func__, __VA_ARGS__); goto error; } while (0)