summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-15 04:32:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-15 04:32:23 +0000
commit5fd915fc83895dbfe698b6c7175dad76485c64b3 (patch)
tree65dc34e91583326da1e8b5037f641c5594352712 /file.c
parent70c1badcfd148a880a9d302b8d5f71d6d6a9fa2d (diff)
* file.c: renamed and externalized rb_path_next,
rb_path_skip_prefix, rb_path_last_separator, rb_path_end. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/file.c b/file.c
index f338db646d..12adcdab87 100644
--- a/file.c
+++ b/file.c
@@ -1461,7 +1461,7 @@ skiproot(path)
#define nextdirsep rb_path_next
char *
-nextdirsep(s)
+rb_path_next(s)
const char *s;
{
while (*s && !isdirsep(*s)) {
@@ -1472,7 +1472,7 @@ nextdirsep(s)
#define skipprefix rb_path_skip_prefix
char *
-skipprefix(path)
+rb_path_skip_prefix(path)
const char *path;
{
#if defined(DOSISH_UNC) || defined(DOSISH_DRIVE_LETTER)
@@ -1493,7 +1493,7 @@ skipprefix(path)
#define strrdirsep rb_path_last_separator
char *
-strrdirsep(path)
+rb_path_last_separator(path)
const char *path;
{
char *last = NULL;
@@ -1513,7 +1513,7 @@ strrdirsep(path)
#define chompdirsep rb_path_end
char *
-chompdirsep(path)
+rb_path_end(path)
const char *path;
{
while (*path) {