diff options
Diffstat (limited to 'user-notification.h')
| -rw-r--r-- | user-notification.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/user-notification.h b/user-notification.h index dada7fbe..1777d521 100644 --- a/user-notification.h +++ b/user-notification.h @@ -2,12 +2,14 @@ #include <tllist.h> +enum user_notification_kind { + USER_NOTIFICATION_DEPRECATED, + USER_NOTIFICATION_WARNING, + USER_NOTIFICATION_ERROR, +}; + struct user_notification { - enum { - USER_NOTIFICATION_DEPRECATED, - USER_NOTIFICATION_WARNING, - USER_NOTIFICATION_ERROR, - } kind; + enum user_notification_kind kind; char *text; }; |
