Skip to content
Snippets Groups Projects
Commit 5fdaf5d6 authored by dprice's avatar dprice
Browse files

* checkout.c (findslash): Declare inputs const. Use ISSLASH().

parent 131828b3
No related branches found
No related tags found
No related merge requests found
2008-10-15 Derek R. Price <derek@ximbiot.com>
* checkout.c (findslash): Declare inputs const. Use ISSLASH().
2008-10-02 Derek R. Price <derek@ximbiot.com>
 
* history.c: Some cleanup.
......
......@@ -57,7 +57,7 @@
static char *findslash (char *start, char *p);
static char *findslash (const char *start, const char *p);
static int checkout_proc (int argc, char **argv, char *where,
char *mwhere, char *mfile, int shorten,
int local_specified, char *omodule,
......@@ -1091,11 +1091,11 @@ out:
static char *
findslash (char *start, char *p)
findslash (const char *start, const char *p)
{
for (;;)
{
if (*p == '/') return p;
if (ISSLASH (*p)) return (void *)p;
if (p == start) break;
--p;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment