diff --git a/Libraries/LibC/stdlib.h b/Libraries/LibC/stdlib.h index a4cb21a4104..7bd91960d0a 100644 --- a/Libraries/LibC/stdlib.h +++ b/Libraries/LibC/stdlib.h @@ -4,7 +4,7 @@ #include #include -[[nodiscard]] bool __generate_unique_filename(char* pattern); +__attribute__((warn_unused_result)) bool __generate_unique_filename(char* pattern); __BEGIN_DECLS