=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/diff/diffreg.c,v retrieving revision 1.75 retrieving revision 1.76 diff -c -r1.75 -r1.76 *** src/usr.bin/diff/diffreg.c 2010/07/14 22:15:57 1.75 --- src/usr.bin/diff/diffreg.c 2010/07/15 18:31:33 1.76 *************** *** 1,4 **** ! /* $OpenBSD: diffreg.c,v 1.75 2010/07/14 22:15:57 ray Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. --- 1,4 ---- ! /* $OpenBSD: diffreg.c,v 1.76 2010/07/15 18:31:33 ray Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. *************** *** 174,180 **** static FILE *opentemp(const char *); static void output(char *, FILE *, char *, FILE *, int); ! static void check(char *, FILE *, char *, FILE *, int); static void range(int, int, char *); static void uni_range(int, int); static void dump_context_vec(FILE *, FILE *, int); --- 174,180 ---- static FILE *opentemp(const char *); static void output(char *, FILE *, char *, FILE *, int); ! static void check(FILE *, FILE *, int); static void range(int, int, char *); static void uni_range(int, int); static void dump_context_vec(FILE *, FILE *, int); *************** *** 433,439 **** ixold = xrealloc(ixold, len[0] + 2, sizeof(*ixold)); ixnew = xrealloc(ixnew, len[1] + 2, sizeof(*ixnew)); ! check(file1, f1, file2, f2, flags); output(file1, f1, file2, f2, flags); if (ostdout != -1) { int wstatus; --- 433,439 ---- ixold = xrealloc(ixold, len[0] + 2, sizeof(*ixold)); ixnew = xrealloc(ixnew, len[1] + 2, sizeof(*ixnew)); ! check(f1, f2, flags); output(file1, f1, file2, f2, flags); if (ostdout != -1) { int wstatus; *************** *** 741,747 **** * 2. collect random access indexes to the two files */ static void ! check(char *file1, FILE *f1, char *file2, FILE *f2, int flags) { int i, j, jackpot, c, d; long ctold, ctnew; --- 741,747 ---- * 2. collect random access indexes to the two files */ static void ! check(FILE *f1, FILE *f2, int flags) { int i, j, jackpot, c, d; long ctold, ctnew;