summaryrefslogtreecommitdiffstats
path: root/usr.bin/csup
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2010-12-18 20:43:18 +0000
committerlulf <lulf@FreeBSD.org>2010-12-18 20:43:18 +0000
commit97ef6c1ba4027bbea37eef3f6814c7ea06401a68 (patch)
treee2ea8c6bc60e85c39a00cf32e9d6fec6b2c8ac07 /usr.bin/csup
parent2bbf443a5b9334295d34bc4e51ad57ba59a14ee4 (diff)
downloadFreeBSD-src-97ef6c1ba4027bbea37eef3f6814c7ea06401a68.zip
FreeBSD-src-97ef6c1ba4027bbea37eef3f6814c7ea06401a68.tar.gz
- Signal that data should not be modified.
Diffstat (limited to 'usr.bin/csup')
-rw-r--r--usr.bin/csup/rcsfile.c3
-rw-r--r--usr.bin/csup/rcsfile.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/csup/rcsfile.c b/usr.bin/csup/rcsfile.c
index 1f3ede1..33caa03 100644
--- a/usr.bin/csup/rcsfile.c
+++ b/usr.bin/csup/rcsfile.c
@@ -175,7 +175,8 @@ print_stream(struct stream *s)
* Parse rcsfile from path and return a pointer to it.
*/
struct rcsfile *
-rcsfile_frompath(char *path, char *name, char *cvsroot, char *colltag, int ro)
+rcsfile_frompath(const char *path, const char *name, const char *cvsroot,
+ const char *colltag, int ro)
{
struct rcsfile *rf;
FILE *infp;
diff --git a/usr.bin/csup/rcsfile.h b/usr.bin/csup/rcsfile.h
index 5fa9f31..096ac96 100644
--- a/usr.bin/csup/rcsfile.h
+++ b/usr.bin/csup/rcsfile.h
@@ -42,7 +42,8 @@ struct delta;
struct stream;
/* Fetching, sending and writing an RCS file. */
-struct rcsfile *rcsfile_frompath(char *, char *, char *, char *, int);
+struct rcsfile *rcsfile_frompath(const char *, const char *, const char *,
+ const char *, int);
int rcsfile_send_details(struct rcsfile *, struct stream *);
int rcsfile_write(struct rcsfile *, struct stream *);
void rcsfile_print(struct rcsfile *);
OpenPOWER on IntegriCloud