X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a8dcf8977f354122e6c5bb82256b56150543da6b..be5ee307cc4ab5db4387fea8d5f6b8caf748ab31:/h/aliasbr.h diff --git a/h/aliasbr.h b/h/aliasbr.h index d1927b35..a80d8b05 100644 --- a/h/aliasbr.h +++ b/h/aliasbr.h @@ -8,7 +8,7 @@ struct aka { char *ak_name; /* name to match against */ struct adr *ak_addr; /* list of addresses that it maps to */ struct aka *ak_next; /* next aka in list */ - char ak_visible; /* should be visible in headers */ + bool ak_visible; /* should be visible in headers */ }; struct adr { @@ -21,14 +21,14 @@ struct adr { * prototypes */ int alias (char *); -int akvisible (void); +int akvisible (void) PURE; char *akresult (struct aka *); char *akvalue (char *); char *akerror (int); /* codes returned by alias() */ -#define AK_OK 0 /* file parsed OK */ -#define AK_NOFILE 1 /* couldn't read file */ -#define AK_ERROR 2 /* error parsing file */ +#define AK_OK 0 /* file parsed OK */ +#define AK_NOFILE 1 /* couldn't read file */ +#define AK_ERROR 2 /* error parsing file */ #define AK_LIMIT 3 /* memory limit exceeded */