summaryrefslogtreecommitdiffstats
path: root/usr.bin/cmp/regular.c
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2001-11-05 20:33:40 +0000
committerdwmalone <dwmalone@FreeBSD.org>2001-11-05 20:33:40 +0000
commit3e00db61efc8e8fc7d328f24d170414bc889ff17 (patch)
treef39f8026981638c17e0b3d5d6e33038112872177 /usr.bin/cmp/regular.c
parentc296aeaf7d6950bfbefac0b5d5a7109221e952d5 (diff)
downloadFreeBSD-src-3e00db61efc8e8fc7d328f24d170414bc889ff17.zip
FreeBSD-src-3e00db61efc8e8fc7d328f24d170414bc889ff17.tar.gz
Make filenames const to avoid a few warnings.
Add FreeBSD tags. Reviewed by: cmp
Diffstat (limited to 'usr.bin/cmp/regular.c')
-rw-r--r--usr.bin/cmp/regular.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/cmp/regular.c b/usr.bin/cmp/regular.c
index ec46827..3c0b5ae 100644
--- a/usr.bin/cmp/regular.c
+++ b/usr.bin/cmp/regular.c
@@ -59,7 +59,7 @@ static u_char *remmap __P((u_char *, int, off_t));
void
c_regular(fd1, file1, skip1, len1, fd2, file2, skip2, len2)
int fd1, fd2;
- char *file1, *file2;
+ const char *file1, *file2;
off_t skip1, len1, skip2, len2;
{
u_char ch, *p1, *p2, *m1, *m2, *e1, *e2;
OpenPOWER on IntegriCloud