mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
utils: pw_getrandom: warn on unused return value
The return value tells us if we actually got any random data so it should not be ignored.
This commit is contained in:
parent
987069cc3c
commit
f2e1827e18
1 changed files with 1 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ pw_strip(char *str, const char *whitespace);
|
|||
})
|
||||
#endif
|
||||
|
||||
SPA_WARN_UNUSED_RESULT
|
||||
ssize_t pw_getrandom(void *buf, size_t buflen, unsigned int flags);
|
||||
|
||||
void* pw_reallocarray(void *ptr, size_t nmemb, size_t size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue