summaryrefslogtreecommitdiff
path: root/contrib/cvs/src/edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs/src/edit.h')
-rw-r--r--contrib/cvs/src/edit.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/cvs/src/edit.h b/contrib/cvs/src/edit.h
index 7c274a6a2cbc8..5c8635a1d53dc 100644
--- a/contrib/cvs/src/edit.h
+++ b/contrib/cvs/src/edit.h
@@ -17,7 +17,8 @@ extern int watch_off PROTO ((int argc, char **argv));
/* Check to see if any notifications are sitting around in need of being
sent. These are the notifications stored in CVSADM_NOTIFY (edit,unedit);
commit calls notify_do directly. */
-extern void notify_check PROTO ((char *repository, char *update_dir));
+extern void notify_check PROTO ((const char *repository,
+ const char *update_dir));
#endif /* CLIENT_SUPPORT */
/* Issue a notification for file FILENAME. TYPE is 'E' for edit, 'U'
@@ -25,14 +26,16 @@ extern void notify_check PROTO ((char *repository, char *update_dir));
For TYPE 'E', VAL is the time+host+directory data which goes in
_editors, and WATCHES is zero or more of E,U,C, in that order, to specify
what kinds of temporary watches to set. */
-extern void notify_do PROTO ((int type, char *filename, char *who,
- char *val, char *watches, char *repository));
+extern void notify_do PROTO ((int type, const char *filename, const char *who,
+ const char *val, const char *watches,
+ const char *repository));
/* Set attributes to reflect the fact that EDITOR is editing FILENAME.
VAL is time+host+directory, or NULL if we are to say that EDITOR is
*not* editing FILENAME. */
-extern void editor_set PROTO ((char *filename, char *editor, char *val));
+extern void editor_set PROTO ((const char *filename, const char *editor,
+ const char *val));
/* Take note of the fact that FILE is up to date (this munges CVS/Base;
processing of CVS/Entries is done separately). */
-extern void mark_up_to_date PROTO ((char *file));
+extern void mark_up_to_date PROTO ((const char *file));