From ac5561f2ed95d2ffcb81723d9556aadc1768ca04 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 4 Jun 2001 01:28:09 +0000 Subject: * path.cc (normalize_posix_path): Revert .. check removed by previous changes. * cygheap.h: Temporarily declare path_prefix_p here. --- winsup/cygwin/path.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index ee23d9fd9..9bc36c01c 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -167,5 +167,5 @@ has_exec_chars (const char *buf, int len) (buf[0] == 'M' && buf[1] == 'Z')); } -extern int pathmatch (const char *path1, const char *path2); -extern int pathnmatch (const char *path1, const char *path2, int len); +int pathmatch (const char *path1, const char *path2) __attribute__ ((regparm (2))); +int pathnmatch (const char *path1, const char *path2, int len) __attribute__ ((regparm (2))); -- cgit v1.2.3