aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/stub_gssapi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-02-13 13:48:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-02-14 08:38:43 +0100
commit28177def43b71e91db0a9aaf138bf3c388893116 (patch)
tree7aec88df135b468f5aa1082e5aee223028f2c86a /tests/libtest/stub_gssapi.c
parentd957b61db385d4fa347cda58c9443f56053f744d (diff)
gssapi: fix deprecated header warnings
Heimdal includes on FreeBSD spewed out lots of them. Less so now. Closes #3566
Diffstat (limited to 'tests/libtest/stub_gssapi.c')
-rw-r--r--tests/libtest/stub_gssapi.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/libtest/stub_gssapi.c b/tests/libtest/stub_gssapi.c
index 377b75452..873e263dc 100644
--- a/tests/libtest/stub_gssapi.c
+++ b/tests/libtest/stub_gssapi.c
@@ -44,15 +44,15 @@ enum min_err_code {
GSS_LAST
};
-const char *min_err_table[] = {
- "stub-gss: no error",
- "stub-gss: no memory",
- "stub-gss: invalid arguments",
- "stub-gss: invalid credentials",
- "stub-gss: invalid context",
- "stub-gss: server returned error",
- "stub-gss: cannot find a mechanism",
- NULL
+static const char *min_err_table[] = {
+ "stub-gss: no error",
+ "stub-gss: no memory",
+ "stub-gss: invalid arguments",
+ "stub-gss: invalid credentials",
+ "stub-gss: invalid context",
+ "stub-gss: server returned error",
+ "stub-gss: cannot find a mechanism",
+ NULL
};
struct gss_ctx_id_t_desc_struct {