branch | new-evsql |
changeset 44 | 9e76ee9729b6 |
parent 41 | 6abda2fa4579 |
--- a/src/lib/error.h Wed Nov 19 19:06:10 2008 +0200 +++ b/src/lib/error.h Thu Nov 20 01:16:24 2008 +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)