Commit a7cb77e7 authored by hpi1's avatar hpi1

log_control.h: do not use enum in exported function parameter / return value

parent e4f08771
......@@ -51,8 +51,8 @@ typedef void (*BD_LOG_FUNC)(const char *);
void bd_set_debug_handler(BD_LOG_FUNC);
void bd_set_debug_mask(debug_mask_t mask);
debug_mask_t bd_get_debug_mask(void);
void bd_set_debug_mask(uint32_t mask);
uint32_t bd_get_debug_mask(void);
#endif /* BD_LOG_CONTROL_H_ */
......@@ -33,12 +33,12 @@ void bd_set_debug_handler(BD_LOG_FUNC f)
log_func = f;
}
void bd_set_debug_mask(debug_mask_t mask)
void bd_set_debug_mask(uint32_t mask)
{
debug_mask = mask;
}
debug_mask_t bd_get_debug_mask(void)
uint32_t bd_get_debug_mask(void)
{
return debug_mask;
}
......
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