Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2009 18:50:38 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 157051 for review
Message-ID:  <200902021850.n12IocmZ048721@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=157051

Change 157051 by gabor@gabor_server on 2009/02/02 18:49:54

	- Tiny cleanup

Affected files ...

.. //depot/projects/soc2008/gabor_textproc/diff/diffreg.c#13 edit

Differences ...

==== //depot/projects/soc2008/gabor_textproc/diff/diffreg.c#13 (text+ko) ====

@@ -184,7 +184,7 @@
 
 static FILE	*opentemp(const char *);
 static void	 output(char *, FILE *, char *, FILE *, int);
-static void	 check(char *, FILE *, char *, FILE *);
+static void	 check(FILE *, FILE *);
 static void	 range(int, int, char *);
 static void	 uni_range(int, int);
 static void	 dump_context_vec(FILE *, FILE *);
@@ -379,7 +379,7 @@
 
 	ixold = erealloc(ixold, (len[0] + 2) * sizeof(long));
 	ixnew = erealloc(ixnew, (len[1] + 2) * sizeof(long));
-	check(file1, f1, file2, f2);
+	check(f1, f2);
 	output(file1, f1, file2, f2, (flags & D_HEADER));
 	if (ostdout != -1) {
 		int wstatus;
@@ -686,7 +686,7 @@
  *  2.  collect random access indexes to the two files
  */
 static void
-check(char *file1, FILE *f1, char *file2, FILE *f2)
+check(FILE *f1, FILE *f2)
 {
 	int	 i, j, jackpot, a, b;
 	wint_t	 c, d;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902021850.n12IocmZ048721>