From 798300be85f1053c70f183a2ac9e71458c7c1dae Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 19 Feb 2007 11:40:01 +0000 Subject: Fix const inconsistencies, void pointer artithmetic and a few other things. now gcc -Wall and lint are more happy. ok joris@ xsa@ --- usr.bin/cvs/entries.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs/entries.c') diff --git a/usr.bin/cvs/entries.c b/usr.bin/cvs/entries.c index d4c93399f72..ba8246020b6 100644 --- a/usr.bin/cvs/entries.c +++ b/usr.bin/cvs/entries.c @@ -1,4 +1,4 @@ -/* $OpenBSD: entries.c,v 1.73 2007/02/17 18:23:43 xsa Exp $ */ +/* $OpenBSD: entries.c,v 1.74 2007/02/19 11:40:00 otto Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -417,7 +417,7 @@ cvs_parse_tagfile(char *dir, char **tagp, char **datep, int *nbp) } void -cvs_write_tagfile(char *dir, char *tag, char *date, int nb) +cvs_write_tagfile(const char *dir, char *tag, char *date, int nb) { FILE *fp; char tagpath[MAXPATHLEN]; -- cgit v1.2.3