summaryrefslogtreecommitdiff
path: root/include/dm_auth.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2018-07-10 14:20:43 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:40 +0200
commit82550d3e45c4df951eb7fc669e6b2d55037cc629 (patch)
treee073f0e3304ea18da7d885551beccc4872122ffa /include/dm_auth.h
parent21a8da6e18e1b45112fce3520ff91d0fd70813ba (diff)
Consistant use of bool whenever possible.
Diffstat (limited to 'include/dm_auth.h')
-rw-r--r--include/dm_auth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm_auth.h b/include/dm_auth.h
index 533f67d..dfde859 100644
--- a/include/dm_auth.h
+++ b/include/dm_auth.h
@@ -39,10 +39,10 @@ extern void MitInitAuth (unsigned short name_len, char *name);
extern Xauth *MitGetAuth (unsigned short namelen, char *name);
/* auth.c */
-extern int ValidAuthorization (unsigned short name_length, char *name);
+extern bool ValidAuthorization (unsigned short name_length, char *name);
-extern int SaveServerAuthorizations (struct display *d, Xauth **auths, int count);
+extern bool SaveServerAuthorizations (struct display *d, Xauth **auths, int count);
extern void CleanUpFileName (char *src, char *dst, int len);
extern void RemoveUserAuthorization (struct display *d, struct verify_info *verify);
extern void SetAuthorization (struct display *d);