diff -r 5776ace903b5 -r 9e76ee9729b6 src/lib/error.h --- 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)