diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-04-07 15:39:36 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-04-07 15:39:36 +0000 |
commit | b0d719c9baf434848d05a294ebaa44b32d9fa0a5 (patch) | |
tree | 53a19ed6f79e697828c722cf91590b5431ee18b8 /app/xauth/xauth.h | |
parent | 480f49355890ecccda3306690be4dbee7b7dac86 (diff) |
Update to xauth 1.0.7
Diffstat (limited to 'app/xauth/xauth.h')
-rw-r--r-- | app/xauth/xauth.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/xauth/xauth.h b/app/xauth/xauth.h index f7aeff165..481531ac8 100644 --- a/app/xauth/xauth.h +++ b/app/xauth/xauth.h @@ -1,5 +1,5 @@ /* - * + * Copyright 1989, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its @@ -36,7 +36,7 @@ typedef int Bool; #define True 1 #endif -extern char *ProgramName; +extern const char *ProgramName; #include <stdlib.h> @@ -47,15 +47,15 @@ struct addrlist { int family; }; -extern char *get_hostname ( Xauth *auth ); -extern struct addrlist *get_address_info ( int family, char *fulldpyname, int prefix, char *host); -extern char *copystring ( char *src, int len ); +extern const char *get_hostname ( Xauth *auth ); +extern struct addrlist *get_address_info ( int family, const char *fulldpyname, int prefix, char *host); +extern char *copystring ( const char *src, int len ); extern char *get_local_hostname ( char *buf, int maxlen ); -extern Bool parse_displayname ( char *displayname, int *familyp, char **hostp, int *dpynump, int *scrnump, char **restp ); -extern int auth_initialize ( char *authfilename ); +extern Bool parse_displayname ( const char *displayname, int *familyp, char **hostp, int *dpynump, int *scrnump, char **restp ); +extern int auth_initialize ( const char *authfilename ); extern int auth_finalize ( void ); -extern int process_command ( char *inputfilename, int lineno, int argc, char **argv ); -extern int print_help ( FILE *fp, char *cmd, char *prefix ); +extern int process_command ( const char *inputfilename, int lineno, int argc, const char **argv ); +extern int print_help ( FILE *fp, const char *cmd, const char *prefix ); extern int verbose; extern Bool ignore_locks; extern Bool break_locks; |