diff options
Diffstat (limited to 'camel/camel-exception.h')
-rw-r--r-- | camel/camel-exception.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/camel/camel-exception.h b/camel/camel-exception.h index 77c2c16066..2056dcabe3 100644 --- a/camel/camel-exception.h +++ b/camel/camel-exception.h @@ -41,15 +41,13 @@ typedef enum { } ExceptionId; - struct _CamelException { /* do not access the fields directly */ ExceptionId id; char *desc; - }; - +#define CAMEL_EXCEPTION_INITIALISER { 0, NULL } /* creation and destruction functions */ CamelException * camel_exception_new (void); @@ -67,7 +65,6 @@ void camel_exception_setv (CamelException *ex, const char *format, ...); - /* exception content transfer */ void camel_exception_xfer (CamelException *ex_dst, CamelException *ex_src); |