mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibC: Use shared functon to generate unique filenames
Move some dupliated code into __generate_unique_filename()
This commit is contained in:
parent
17aef7dc99
commit
f6bd4f8691
Notes:
sideshowbarker
2024-07-19 10:39:54 +09:00
Author: https://github.com/shannonbooth
Commit: f6bd4f8691
Pull-request: https://github.com/SerenityOS/serenity/pull/917
Reviewed-by: https://github.com/awesomekling ✅
2 changed files with 33 additions and 43 deletions
|
@ -4,6 +4,8 @@
|
|||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
[[nodiscard]] bool __generate_unique_filename(char* pattern);
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define EXIT_SUCCESS 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue