mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
LibC: sys_errlist should be const char* const
Patch from Anonymous.
This commit is contained in:
parent
06f084fedd
commit
e51c1aa3d4
Notes:
sideshowbarker
2024-07-19 11:40:23 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e51c1aa3d46
@ -15,7 +15,7 @@
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
extern const char* sys_errlist[];
|
||||
extern const char* const sys_errlist[];
|
||||
extern int sys_nerr;
|
||||
extern __thread int errno;
|
||||
|
||||
|
@ -334,7 +334,7 @@ char* strncat(char* dest, const char* src, size_t n)
|
||||
return dest;
|
||||
}
|
||||
|
||||
const char* sys_errlist[] = {
|
||||
const char* const sys_errlist[] = {
|
||||
"Success (not an error)",
|
||||
"Operation not permitted",
|
||||
"No such file or directory",
|
||||
|
Loading…
Reference in New Issue
Block a user