From f456aaf2058ccc2c256a04fb000553c960ecf1e2 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 13 Jan 2005 11:32:47 +0000 Subject: [PATCH] Tree does not compile with GCC 4.0 * yarrow.c: Declare yarrow_gate_locked static before first use. GCC 4.0 snapshots are more particular about using a static function before a prototype is given. ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17024 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/yarrow/ChangeLog | 4 ++++ src/lib/crypto/yarrow/yarrow.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/lib/crypto/yarrow/ChangeLog b/src/lib/crypto/yarrow/ChangeLog index f3e566664..5aa069bf2 100644 --- a/src/lib/crypto/yarrow/ChangeLog +++ b/src/lib/crypto/yarrow/ChangeLog @@ -1,3 +1,7 @@ +2005-01-13 Ezra Peisach + + * yarrow.c: Declare yarrow_gate_locked static before first use. + 2004-11-22 Ken Raeburn * yarrow.c (yarrow_input_maybe_locking): Renamed from diff --git a/src/lib/crypto/yarrow/yarrow.c b/src/lib/crypto/yarrow/yarrow.c index a619c5b2e..54d30e1fa 100644 --- a/src/lib/crypto/yarrow/yarrow.c +++ b/src/lib/crypto/yarrow/yarrow.c @@ -71,6 +71,8 @@ static int Yarrow_Load_State( Yarrow_CTX *y ); static int Yarrow_Save_State( Yarrow_CTX *y ); #endif +static int yarrow_gate_locked(Yarrow_CTX* y); + static const byte zero_block[CIPHER_BLOCK_SIZE] = { 0, }; static const char* const yarrow_str_error[] = { -- 2.26.2