Make things build on FreeBSD again.

This commit is contained in:
rsc 2003-11-23 20:04:53 +00:00
parent 1c253ceb58
commit 478ee9636f
8 changed files with 16 additions and 22 deletions

View file

@ -4,9 +4,9 @@
#include "diff.h"
static int
itemcmp(void *v1, void *v2)
itemcmp(const void *v1, const void *v2)
{
char **d1 = v1, **d2 = v2;
char *const*d1 = v1, *const*d2 = v2;
return strcmp(*d1, *d2);
}