From b3ded17a5edf5a67c785334b5330df718eaa4020 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 31 Dec 2009 22:49:52 +0000 Subject: [PATCH] Declare function as static to avoid compiler warning on missing prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23557 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/crypto_tests/t_cts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/crypto/crypto_tests/t_cts.c b/src/lib/crypto/crypto_tests/t_cts.c index 9b1c27150..9f7b5e7e0 100644 --- a/src/lib/crypto/crypto_tests/t_cts.c +++ b/src/lib/crypto/crypto_tests/t_cts.c @@ -67,7 +67,8 @@ keyToData (krb5_keyblock *k, krb5_data *d) d->data = k->contents; } -void check_error (int r, int line) { +static void +check_error (int r, int line) { if (r != 0) { fprintf (stderr, "%s:%d: %s\n", __FILE__, line, error_message (r)); -- 2.26.2