From 8274b8e4b121c3dc3bfd5d0fa4f85bc23f5c09a0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 28 Jun 2006 22:26:50 +0000 Subject: Remove prototype for XauGetAuthByName to clear lint warning: name declared but never used or defined Fix sparse warnings: -warning: Using plain integer as NULL pointer -warning: non-ANSI definition of function --- AuWrite.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'AuWrite.c') diff --git a/AuWrite.c b/AuWrite.c index f25abc9..5852759 100644 --- a/AuWrite.c +++ b/AuWrite.c @@ -55,9 +55,7 @@ write_counted_string (unsigned short count, char *string, FILE *file) } int -XauWriteAuth (auth_file, auth) -FILE *auth_file; -Xauth *auth; +XauWriteAuth (FILE *auth_file, Xauth *auth) { if (write_short (auth->family, auth_file) == 0) return 0; -- cgit v1.2.1