From 3e74f54084230a796e124c964b9db46e3e9c87b4 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 11 Mar 1999 13:59:05 +0000 Subject: [PATCH] protoize git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5506 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/kx/writeauth.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/appl/kx/writeauth.c b/appl/kx/writeauth.c index 3c9d829b0..ffafcc901 100644 --- a/appl/kx/writeauth.c +++ b/appl/kx/writeauth.c @@ -34,10 +34,8 @@ RCSID("$Id$"); #include -static -write_short (s, file) -unsigned short s; -FILE *file; +static int +write_short (unsigned short s, FILE *file) { unsigned char file_short[2]; @@ -48,11 +46,8 @@ FILE *file; return 1; } -static -write_counted_string (count, string, file) -unsigned short count; -char *string; -FILE *file; +static int +write_counted_string (unsigned short count, char *string, FILE *file) { if (write_short (count, file) == 0) return 0; @@ -62,9 +57,7 @@ FILE *file; } int -XauWriteAuth (auth_file, auth) -FILE *auth_file; -Xauth *auth; +XauWriteAuth (FILE *auth_file, Xauth *auth) { char *malloc ();