Commit 94c83320 authored by Brice Videau's avatar Brice Videau

Added guard to enums.

parent 3d87e11f
...@@ -7,7 +7,8 @@ enum excit_type_e { ...@@ -7,7 +7,8 @@ enum excit_type_e {
EXCIT_REPEAT, EXCIT_REPEAT,
EXCIT_HILBERT2D, EXCIT_HILBERT2D,
EXCIT_PRODUCT, EXCIT_PRODUCT,
EXCIT_SLICE EXCIT_SLICE,
EXCIT_TYPE_MAX
}; };
enum excit_error_e { enum excit_error_e {
...@@ -16,7 +17,9 @@ enum excit_error_e { ...@@ -16,7 +17,9 @@ enum excit_error_e {
EXCIT_ENOMEM, EXCIT_ENOMEM,
EXCIT_EINVAL, EXCIT_EINVAL,
EXCIT_EDOM, EXCIT_EDOM,
EXCIT_ENOTSUP EXCIT_ENOTSUP,
EXCIT_ERROR_MAX
};
struct excit_s { struct excit_s {
const struct excit_func_table_s *functions; const struct excit_func_table_s *functions;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment