util: Allow scan_freq_set to be autodestructed

This commit is contained in:
Denis Kenzior 2022-08-05 09:27:59 -05:00
parent bb604b92f1
commit 82f873a025
1 changed files with 3 additions and 0 deletions

View File

@ -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 */