From 529a08329a451177a727972ec455c3d4d47b858c Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sun, 25 Nov 2001 23:10:38 +0000 Subject: [PATCH] Do not declare lseek --- debian/patch.005_lseek_declaration | 16 ++++++++++++++++ src/auth/ktc.c | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 debian/patch.005_lseek_declaration diff --git a/debian/patch.005_lseek_declaration b/debian/patch.005_lseek_declaration new file mode 100644 index 000000000..da511d5e9 --- /dev/null +++ b/debian/patch.005_lseek_declaration @@ -0,0 +1,16 @@ +Index: src/auth/ktc.c +=================================================================== +RCS file: /afs/sipb.mit.edu/project/openafs/debian/cvs/openafs/src/auth/ktc.c,v +retrieving revision 1.1.1.7 +diff -u -r1.1.1.7 ktc.c +--- ktc.c 2001/10/14 18:04:01 1.1.1.7 ++++ ktc.c 2001/11/25 23:09:22 +@@ -1274,7 +1274,7 @@ + struct ktc_principal principal; + struct ktc_token token; + int status; +- off_t start, lseek(); ++ off_t start; + int lifetime, kvno; + int count; /* count for write */ + diff --git a/src/auth/ktc.c b/src/auth/ktc.c index b6c406cbf..b89eb9e86 100644 --- a/src/auth/ktc.c +++ b/src/auth/ktc.c @@ -16,7 +16,7 @@ #include #endif -RCSID("$Header: /tmp/cvstemp/openafs/src/auth/ktc.c,v 1.1.1.7 2001/10/14 18:04:01 hartmans Exp $"); +RCSID("$Header: /tmp/cvstemp/openafs/src/auth/ktc.c,v 1.2 2001/11/25 23:10:38 hartmans Exp $"); #if defined(UKERNEL) #include "../afs/sysincludes.h" @@ -1274,7 +1274,7 @@ afs_tf_save_cred(aserver, atoken, aclient) struct ktc_principal principal; struct ktc_token token; int status; - off_t start, lseek(); + off_t start; int lifetime, kvno; int count; /* count for write */ -- 2.39.5