git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8ed6955
)
lib/replace: Const-qualify sys_errlist
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Wed, 5 Jul 2023 22:48:38 +0000
(10:48 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 8 Aug 2023 04:39:36 +0000
(
04:39
+0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/replace/replace.h
patch
|
blob
|
history
diff --git
a/lib/replace/replace.h
b/lib/replace/replace.h
index 25e6e145eebfc7c4e1d4b087063d1ab823cb5dd2..adcb22f8c194eb768662f1e7f695672897c7b020 100644
(file)
--- a/
lib/replace/replace.h
+++ b/
lib/replace/replace.h
@@
-205,7
+205,7
@@
#endif
#ifndef HAVE_STRERROR
-extern c
har *
sys_errlist[];
+extern c
onst char *const
sys_errlist[];
#define strerror(i) sys_errlist[i]
#endif