diff options
author | rsc <devnull@localhost> | 2003-11-23 20:04:53 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-11-23 20:04:53 +0000 |
commit | 478ee9636fcfe3509d0a901d1250524a5c41d3a8 (patch) | |
tree | 539eccccbee0a00b306c45583212e4ebb25d7ab6 /src/cmd/diff | |
parent | 1c253ceb586c4519f42ce115954c4efab787f81a (diff) | |
download | plan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.tar.gz plan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.tar.bz2 plan9port-478ee9636fcfe3509d0a901d1250524a5c41d3a8.zip |
Make things build on FreeBSD again.
Diffstat (limited to 'src/cmd/diff')
-rw-r--r-- | src/cmd/diff/diffdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/diff/diffdir.c b/src/cmd/diff/diffdir.c index 41e4fbf4..c9446d6b 100644 --- a/src/cmd/diff/diffdir.c +++ b/src/cmd/diff/diffdir.c @@ -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); } |