aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2005-01-13 11:32:47 +0000
committerEzra Peisach <epeisach@mit.edu>2005-01-13 11:32:47 +0000
commitf456aaf2058ccc2c256a04fb000553c960ecf1e2 (patch)
treea4304d01e9022faada2dfed3c491d9e459d2374b /src/lib
parent5e5200905f46bd9c39987f733e3aea593d9ac8b5 (diff)
downloadkrb5-f456aaf2058ccc2c256a04fb000553c960ecf1e2.zip
krb5-f456aaf2058ccc2c256a04fb000553c960ecf1e2.tar.gz
krb5-f456aaf2058ccc2c256a04fb000553c960ecf1e2.tar.bz2
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/crypto/yarrow/ChangeLog4
-rw-r--r--src/lib/crypto/yarrow/yarrow.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/crypto/yarrow/ChangeLog b/src/lib/crypto/yarrow/ChangeLog
index f3e5666..5aa069b 100644
--- a/src/lib/crypto/yarrow/ChangeLog
+++ b/src/lib/crypto/yarrow/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-13 Ezra Peisach <epeisach@mit.edu>
+
+ * yarrow.c: Declare yarrow_gate_locked static before first use.
+
2004-11-22 Ken Raeburn <raeburn@mit.edu>
* 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 a619c5b..54d30e1 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[] = {