mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 01:50:24 +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: https://github.com/SerenityOS/serenity/commit/b1fc5d91436
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…
Reference in a new issue