summaryrefslogtreecommitdiff
path: root/dln_find.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-02 07:15:55 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-02 07:15:55 (GMT)
commit5615bf5f79e6d55666f798a08d12c409c27dbf01 (patch)
tree8b77fe6f2e532648d64e61dffe452fa0e2065e4c /dln_find.c
parentd8069572f8ebf2cb4124a39cc15b6e4f26a221a3 (diff)
dln_find.c: deprecated functions
* dln_find.c (dln_find_exe, dln_find_file): remove deprecated non-reentrant functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln_find.c')
-rw-r--r--dln_find.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/dln_find.c b/dln_find.c
index 06caceb..3160235 100644
--- a/dln_find.c
+++ b/dln_find.c
@@ -94,20 +94,6 @@ dln_find_file_r(const char *fname, const char *path, char *buf, size_t size)
return dln_find_1(fname, path, buf, size, 0);
}
-static char fbuf[MAXPATHLEN];
-
-char *
-dln_find_exe(const char *fname, const char *path)
-{
- return dln_find_exe_r(fname, path, fbuf, sizeof(fbuf));
-}
-
-char *
-dln_find_file(const char *fname, const char *path)
-{
- return dln_find_file_r(fname, path, fbuf, sizeof(fbuf));
-}
-
static char *
dln_find_1(const char *fname, const char *path, char *fbuf, size_t size,
int exe_flag /* non 0 if looking for executable. */)