Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/smbfs/lib/smb constify some structs
details: https://anonhg.NetBSD.org/src/rev/f15642bc575d
branches: trunk
changeset: 543141:f15642bc575d
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Feb 18 09:45:58 2003 +0000
description:
constify some structs
diffstat:
dist/smbfs/lib/smb/nb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r a154bb97b7ec -r f15642bc575d dist/smbfs/lib/smb/nb.c
--- a/dist/smbfs/lib/smb/nb.c Tue Feb 18 09:35:31 2003 +0000
+++ b/dist/smbfs/lib/smb/nb.c Tue Feb 18 09:45:58 2003 +0000
@@ -159,7 +159,7 @@
return 0;
}
-static const char *nb_err_rcode[] = {
+static const char * const nb_err_rcode[] = {
"bad request/response format",
"NBNS server failure",
"no such name",
@@ -168,7 +168,7 @@
"name already registered"
};
-static const char *nb_err[] = {
+static const char * const nb_err[] = {
"host not found",
"too many redirects",
"invalid response",
Home |
Main Index |
Thread Index |
Old Index