=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/vars.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/mail/vars.c 1996/06/11 12:53:53 1.2 +++ src/usr.bin/mail/vars.c 1997/07/13 21:21:18 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: vars.c,v 1.2 1996/06/11 12:53:53 deraadt Exp $ */ +/* $OpenBSD: vars.c,v 1.3 1997/07/13 21:21:18 millert Exp $ */ /* $NetBSD: vars.c,v 1.4 1996/06/08 19:48:45 christos Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)vars.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: vars.c,v 1.2 1996/06/11 12:53:53 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: vars.c,v 1.3 1997/07/13 21:21:18 millert Exp $"; #endif #endif /* not lint */ @@ -64,7 +64,7 @@ h = hash(name); vp = lookup(name); if (vp == NOVAR) { - vp = (struct var *) calloc(sizeof *vp, 1); + vp = (struct var *) calloc(sizeof(*vp), 1); vp->v_name = vcopy(name); vp->v_link = variables[h]; variables[h] = vp; @@ -100,12 +100,12 @@ unsigned len; if (*str == '\0') - return ""; + return(""); len = strlen(str) + 1; if ((new = malloc(len)) == NULL) panic("Out of memory"); bcopy(str, new, (int) len); - return new; + return(new); } /* @@ -193,5 +193,5 @@ } if (h < 0 && (h = -h) < 0) h = 0; - return (h % HSHSIZE); + return(h % HSHSIZE); }