- Signal that data should not be modified.

This commit is contained in:
Ulf Lilleengen 2010-12-18 20:43:18 +00:00
parent 2f4f5fffa5
commit de956290ba
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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 *);