update lock_file, unlock_file (take char *'s now in addition to FILE *)
authorJohn Kohl <jtkohl@mit.edu>
Tue, 30 Jan 1990 16:56:42 +0000 (16:56 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 30 Jan 1990 16:56:42 +0000 (16:56 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@205 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/los-proto.h
src/lib/krb5/os/unlck_file.c

index 8f738b26ca97535275377f594969fb3ae38c06a2..3715299b5dd2cc44a98d04554310b9816571fef1 100644 (file)
@@ -26,9 +26,11 @@ krb5_error_code krb5_read_password
                   int size_return ));
 krb5_error_code krb5_lock_file
        PROTOTYPE((FILE *filep,
+                  char *,
                   int mode ));
 krb5_error_code krb5_unlock_file
-       PROTOTYPE((FILE *filep ));
+       PROTOTYPE((FILE *filep,
+                  char * ));
 krb5_error_code krb5_timeofday
        PROTOTYPE((krb5_int32 *timeret ));
 krb5_error_code krb5_ms_timeofday
index 796c262e2a18066426b877f316bb9b9bef988cb5..cc9758450ab03c56a2993b22b2a91ee105b78714 100644 (file)
@@ -23,8 +23,9 @@ static char rcsid_unlock_file_c [] =
 #include <krb5/libos-proto.h>
 
 krb5_error_code
-krb5_unlock_file(filep)
+krb5_unlock_file(filep, pathname)
 FILE *filep;
+char *pathname;
 {
-    return krb5_lock_file(filep, KRB5_LOCKMODE_UNLOCK);
+    return krb5_lock_file(filep, pathname, KRB5_LOCKMODE_UNLOCK);
 }