Explicit checks for return values of strcmp().
[mmh] / h / aliasbr.h
index aa38c42..1e05335 100644 (file)
@@ -1,8 +1,7 @@
 /*
- * aliasbr.h -- definitions for the aliasing system
- */
+** aliasbr.h -- definitions for the aliasing system
+*/
 
-extern char *AliasFile;         /* mh-alias(5)             */
 #define PASSWD "/etc/passwd"    /* passwd(5)               */
 #define GROUP   "/etc/group"    /* group(5)                */
 #define EVERYONE 200            /* lowest uid for everyone */
@@ -21,8 +20,8 @@ struct adr {
 };
 
 /*
- * incore version of /etc/passwd
- */
+** incore version of /etc/passwd
+*/
 struct home {
        char *h_name;           /* user name                             */
        uid_t h_uid;            /* user id                               */
@@ -33,17 +32,17 @@ struct home {
        struct home *h_next;    /* next home in list                     */
 };
 
-struct home *seek_home (char *);
+struct home *seek_home(char *);
 
 /*
- * prototypes
- */
-int alias (char *);
-int akvisible (void);
-void init_pw (void);
-char *akresult (struct aka *);
-char *akvalue (char *);
-char *akerror (int);
+** prototypes
+*/
+int alias(char *);
+int akvisible(void);
+void init_pw(void);
+char *akresult(struct aka *);
+char *akvalue(char *);
+char *akerror(int);
 
 /* codes returned by alias() */