summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/entries.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-02-19 11:40:01 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-02-19 11:40:01 +0000
commit798300be85f1053c70f183a2ac9e71458c7c1dae (patch)
tree69b9a3f7595052973872142f83c8c30289381dd6 /usr.bin/cvs/entries.c
parent27d58412abaa0705237ccfac83add9738c79b6ec (diff)
Fix const inconsistencies, void pointer artithmetic and a few other
things. now gcc -Wall and lint are more happy. ok joris@ xsa@
Diffstat (limited to 'usr.bin/cvs/entries.c')
-rw-r--r--usr.bin/cvs/entries.c4
1 files changed, 2 insertions, 2 deletions
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 <joris@openbsd.org>
*
@@ -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];