=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/head.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/mail/head.c 2001/01/19 04:11:28 1.6 --- src/usr.bin/mail/head.c 2001/11/21 15:26:39 1.7 *************** *** 1,4 **** ! /* $OpenBSD: head.c,v 1.6 2001/01/19 04:11:28 millert Exp $ */ /* $NetBSD: head.c,v 1.6 1996/12/28 07:11:03 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: head.c,v 1.7 2001/11/21 15:26:39 millert Exp $ */ /* $NetBSD: head.c,v 1.6 1996/12/28 07:11:03 tls Exp $ */ /* *************** *** 36,44 **** #ifndef lint #if 0 ! static char sccsid[] = "@(#)head.c 8.2 (Berkeley) 4/20/95"; #else ! static char rcsid[] = "$OpenBSD: head.c,v 1.6 2001/01/19 04:11:28 millert Exp $"; #endif #endif /* not lint */ --- 36,44 ---- #ifndef lint #if 0 ! static const char sccsid[] = "@(#)head.c 8.2 (Berkeley) 4/20/95"; #else ! static const char rcsid[] = "$OpenBSD: head.c,v 1.7 2001/11/21 15:26:39 millert Exp $"; #endif #endif /* not lint */ *************** *** 57,64 **** * accomodate all funny formats. */ int ! ishead(linebuf) ! char linebuf[]; { char *cp; struct headline hl; --- 57,63 ---- * accomodate all funny formats. */ int ! ishead(char *linebuf) { char *cp; struct headline hl; *************** *** 85,92 **** /*ARGSUSED*/ void ! fail(linebuf, reason) ! char linebuf[], reason[]; { /* --- 84,90 ---- /*ARGSUSED*/ void ! fail(char *linebuf, char *reason) { /* *************** *** 103,111 **** * structure. Actually, it scans. */ void ! parse(line, hl, pbuf) ! char line[], pbuf[]; ! struct headline *hl; { char *cp, *sp; char word[LINESIZE]; --- 101,107 ---- * structure. Actually, it scans. */ void ! parse(char *line, struct headline *hl, char *pbuf) { char *cp, *sp; char word[LINESIZE]; *************** *** 137,145 **** * the left string into it. */ char * ! copyin(src, space) ! char *src; ! char **space; { char *cp, *top; --- 133,139 ---- * the left string into it. */ char * ! copyin(char *src, char **space) { char *cp, *top; *************** *** 191,198 **** }; int ! isdate(date) ! char date[]; { int i; --- 185,191 ---- }; int ! isdate(char *date) { int i; *************** *** 208,215 **** * Return 1 if they match, 0 if they don't */ int ! cmatch(cp, tp) ! char *cp, *tp; { while (*cp && *tp) --- 201,207 ---- * Return 1 if they match, 0 if they don't */ int ! cmatch(char *cp, char *tp) { while (*cp && *tp) *************** *** 264,271 **** * or NULL if none follow. */ char * ! nextword(wp, wbuf) ! char *wp, *wbuf; { int c; --- 256,262 ---- * or NULL if none follow. */ char * ! nextword(char *wp, char *wbuf) { int c;