summaryrefslogtreecommitdiffstats
path: root/dns.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2022-02-02 00:32:51 +0100
committerDamien Miller <djm@mindrot.org>2022-02-02 00:38:59 +0100
commit541667fe6dc26d7881e55f0bb3a4baa6f3171645 (patch)
tree1844fb6f21e883bafb536aee224ccf15b5ac3978 /dns.c
parentupstream: better match legacy scp behaviour: show un-expanded paths (diff)
downloadopenssh-541667fe6dc26d7881e55f0bb3a4baa6f3171645.tar.xz
openssh-541667fe6dc26d7881e55f0bb3a4baa6f3171645.zip
upstream: mark const string array contents const too, i.e. static
const char *array => static const char * const array from Mike Frysinger OpenBSD-Commit-ID: a664e31ea6a795d7c81153274a5f47b22bdc9bc1
Diffstat (limited to 'dns.c')
-rw-r--r--dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns.c b/dns.c
index 1cfc38e7c..f2310bec2 100644
--- a/dns.c
+++ b/dns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dns.c,v 1.41 2021/07/19 03:13:28 dtucker Exp $ */
+/* $OpenBSD: dns.c,v 1.42 2022/02/01 23:32:51 djm Exp $ */
/*
* Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -43,7 +43,7 @@
#include "log.h"
#include "digest.h"
-static const char *errset_text[] = {
+static const char * const errset_text[] = {
"success", /* 0 ERRSET_SUCCESS */
"out of memory", /* 1 ERRSET_NOMEMORY */
"general failure", /* 2 ERRSET_FAIL */