diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2006-06-28 22:26:50 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2006-06-28 22:26:50 +0000 |
commit | 8274b8e4b121c3dc3bfd5d0fa4f85bc23f5c09a0 (patch) | |
tree | cb61869ef8db7fba494853286faba6a7901198ac /AuDispose.c | |
parent | 7f6f90cfce51806340f25b80a87b147d8a743b27 (diff) |
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
Diffstat (limited to 'AuDispose.c')
-rw-r--r-- | AuDispose.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/AuDispose.c b/AuDispose.c index 58ffd61..cb6f85c 100644 --- a/AuDispose.c +++ b/AuDispose.c @@ -34,8 +34,7 @@ in this Software without prior written authorization from The Open Group. #include <stdlib.h> void -XauDisposeAuth (auth) -Xauth *auth; +XauDisposeAuth (Xauth *auth) { if (auth) { if (auth->address) (void) free (auth->address); |