Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-06-04 05:28:09 +0400
committerChristopher Faylor <me@cgf.cx>2001-06-04 05:28:09 +0400
commitac5561f2ed95d2ffcb81723d9556aadc1768ca04 (patch)
treedcac3dbe7a95d896583c184f7de830ad0b9ddc2f /winsup/cygwin/cygheap.h
parent9f13167f7789db27d1090a78c847f5a0e81e01f6 (diff)
* path.cc (normalize_posix_path): Revert .. check removed by previous changes.
* cygheap.h: Temporarily declare path_prefix_p here.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r--winsup/cygwin/cygheap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h
index cc953a764..6348590a2 100644
--- a/winsup/cygwin/cygheap.h
+++ b/winsup/cygwin/cygheap.h
@@ -46,6 +46,9 @@ struct cygheap_root_mount_info
unsigned native_pathlen;
};
+/* CGF: FIXME This doesn't belong here */
+
+int path_prefix_p (const char *path1, const char *path2, int len1) __attribute__ ((regparm (3)));
class cygheap_root
{
/* Root directory information.
@@ -55,7 +58,6 @@ class cygheap_root
public:
bool posix_ok (const char *path)
{
- extern int path_prefix_p (const char *, const char *, int);
if (!m)
return 1;
return path_prefix_p (m->posix_path, path, m->posix_pathlen);