mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
util: Allow scan_freq_set to be autodestructed
This commit is contained in:
parent
bb604b92f1
commit
82f873a025
@ -25,6 +25,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <ell/cleanup.h>
|
||||
|
||||
#define ___PASTE(a, b) a ## b
|
||||
#define __PASTE(a, b) ___PASTE(a, b)
|
||||
@ -124,4 +125,6 @@ bool scan_freq_set_isempty(const struct scan_freq_set *set);
|
||||
uint32_t *scan_freq_set_to_fixed_array(const struct scan_freq_set *set,
|
||||
size_t *len_out);
|
||||
|
||||
DEFINE_CLEANUP_FUNC(scan_freq_set_free);
|
||||
|
||||
#endif /* __UTIL_H */
|
||||
|
Loading…
Reference in New Issue
Block a user