summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-17 23:12:11 +0000
committerChristopher Faylor <me@cgf.cx>2001-04-17 23:12:11 +0000
commit4199e1e6fb0ec02c3da3983da88e633dc19a6841 (patch)
treeec4f042cc738796b10ba1942ed1d22b54252806e /winsup/cygwin/path.cc
parent273861e3aa046004fa198e0fce26cbf6e984ae7e (diff)
downloadcygnal-4199e1e6fb0ec02c3da3983da88e633dc19a6841.tar.gz
cygnal-4199e1e6fb0ec02c3da3983da88e633dc19a6841.tar.bz2
cygnal-4199e1e6fb0ec02c3da3983da88e633dc19a6841.zip
* path.h (path_conv::add_ext_from_sym): Declare.
* path.cc (path_conv::add_ext_from_sym): Convert to pure inline method.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 7992a89f8..fc8eae623 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -177,11 +177,8 @@ pathmatch (const char *path1, const char *path2)
: strcasematch (path1, path2);
}
-#define add_ext_from_sym(s) \
- (add_ext_from_sym_ (this->path, this->known_suffix, s))
-
inline void
-add_ext_from_sym_ (char *path, char *known_suffix, symlink_info &sym)
+path_conv::add_ext_from_sym (symlink_info &sym)
{
if (sym.ext_here && *sym.ext_here)
{