]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Declare function as static to avoid compiler warning on missing prototypes
authorEzra Peisach <epeisach@mit.edu>
Thu, 31 Dec 2009 22:49:52 +0000 (22:49 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 31 Dec 2009 22:49:52 +0000 (22:49 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23557 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/crypto_tests/t_cts.c

index 9b1c2715093db2d85a3be48422642ccbe92bd96c..9f7b5e7e01b5e1f0d6103ff54ba32ca40fd5d45b 100644 (file)
@@ -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));