protoize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5506 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -34,10 +34,8 @@ RCSID("$Id$");
|
|||||||
|
|
||||||
#include <X11/Xauth.h>
|
#include <X11/Xauth.h>
|
||||||
|
|
||||||
static
|
static int
|
||||||
write_short (s, file)
|
write_short (unsigned short s, FILE *file)
|
||||||
unsigned short s;
|
|
||||||
FILE *file;
|
|
||||||
{
|
{
|
||||||
unsigned char file_short[2];
|
unsigned char file_short[2];
|
||||||
|
|
||||||
@@ -48,11 +46,8 @@ FILE *file;
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static int
|
||||||
write_counted_string (count, string, file)
|
write_counted_string (unsigned short count, char *string, FILE *file)
|
||||||
unsigned short count;
|
|
||||||
char *string;
|
|
||||||
FILE *file;
|
|
||||||
{
|
{
|
||||||
if (write_short (count, file) == 0)
|
if (write_short (count, file) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
@@ -62,9 +57,7 @@ FILE *file;
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
XauWriteAuth (auth_file, auth)
|
XauWriteAuth (FILE *auth_file, Xauth *auth)
|
||||||
FILE *auth_file;
|
|
||||||
Xauth *auth;
|
|
||||||
{
|
{
|
||||||
char *malloc ();
|
char *malloc ();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user