mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
LibC: Oops, we can't use [[nodiscard]] when this is included from C
This commit is contained in:
parent
22776589f0
commit
b1fc5d9143
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
[[nodiscard]] bool __generate_unique_filename(char* pattern);
|
||||
__attribute__((warn_unused_result)) bool __generate_unique_filename(char* pattern);
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue