Avoid problems with Doxygen by adding warn_unused_result attribute at the end of method signatures
This commit is contained in:
@@ -46,8 +46,8 @@ struct mac_t {
|
||||
* @param out pointer where the generated bytes will be written
|
||||
* @return TRUE if mac generated successfully
|
||||
*/
|
||||
__attribute__((warn_unused_result))
|
||||
bool (*get_mac)(mac_t *this, chunk_t data, u_int8_t *out);
|
||||
bool (*get_mac)(mac_t *this, chunk_t data,
|
||||
u_int8_t *out) __attribute__((warn_unused_result));
|
||||
|
||||
/**
|
||||
* Get the size of the resulting MAC.
|
||||
@@ -64,8 +64,8 @@ struct mac_t {
|
||||
* @param key key to set
|
||||
* @return TRUE if key set successfully
|
||||
*/
|
||||
__attribute__((warn_unused_result))
|
||||
bool (*set_key) (mac_t *this, chunk_t key);
|
||||
bool (*set_key)(mac_t *this,
|
||||
chunk_t key) __attribute__((warn_unused_result));
|
||||
|
||||
/**
|
||||
* Destroys a mac_t object.
|
||||
|
||||
Reference in New Issue
Block a user