mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
LibC: Oops, we can't use [[nodiscard]] when this is included from C
This commit is contained in:
parent
22776589f0
commit
b1fc5d9143
Notes:
sideshowbarker
2024-07-19 10:39:31 +09:00
Author: https://github.com/awesomekling
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