From c138111a3c27863308b6552a5527a9e821a3dc11 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 17 May 2020 17:05:30 -0700 Subject: Update to rra-c-util 8.2 and C TAP Harness 4.7 Update to rra-c-util 8.2: * Implement explicit_bzero with memset if it is not available. * Reformat all C source using clang-format 10. * Work around Test::Strict not skipping .git directories. * Fix warnings with perltidy 20190601 and Perl::Critic 1.134. * Fix warnings with Clang 10, GCC 10, and the Clang static analyzer. Update to C TAP Harness 4.7: * Fix warnings with GCC 10. * Reformat all C source using clang-format 10. * Fixed malloc error checking in bstrndup. --- tests/util/messages-krb5-t.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/util/messages-krb5-t.c') diff --git a/tests/util/messages-krb5-t.c b/tests/util/messages-krb5-t.c index b22c4cf..e68c57f 100644 --- a/tests/util/messages-krb5-t.c +++ b/tests/util/messages-krb5-t.c @@ -5,6 +5,7 @@ * which can be found at . * * Written by Russ Allbery + * Copyright 2020 Russ Allbery * Copyright 2010-2011, 2013-2014 * The Board of Trustees of the Leland Stanford Junior University * @@ -31,7 +32,7 @@ #include #ifdef HAVE_KRB5 -# include +# include #endif #include @@ -39,7 +40,7 @@ #include #include #ifdef HAVE_KRB5 -# include +# include #endif #include #include @@ -58,7 +59,7 @@ main(void) /* * Test functions. */ -static void __attribute__((__noreturn__)) +__attribute__((__noreturn__)) static void test_warn(void *data UNUSED) { krb5_context ctx; @@ -76,7 +77,7 @@ test_warn(void *data UNUSED) exit(0); } -static void __attribute__((__noreturn__)) +__attribute__((__noreturn__)) static void test_die(void *data UNUSED) { krb5_context ctx; -- cgit v1.2.3