This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH]Improper static on function in winsup/cygwin/path.cc


path_prefix_p() is referred to in winsup/cygwin/cygheap.h as extern, so it
shouldn't be declared static in winsup/cygwin/path.cc.
--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.

ChangeLog:

2001-06-03 Michael A Chase <mchase@ix.netcom.com>

    * path.cc:  Remove static from declaration of path_prefix_p

Patch:

--- path.cc-orig        Sun Jun  3 09:24:12 2001
+++ path.cc     Sun Jun  3 11:05:50 2001
@@ -89,7 +89,8 @@
 static int normalize_win32_path (const char *src, char *dst);
 static void slashify (const char *src, char *dst, int trailing_slash_p);
 static void backslashify (const char *src, char *dst, int
trailing_slash_p);
-static int path_prefix_p (const char *path1, const char *path2, int len1);
+
+int path_prefix_p (const char *path1, const char *path2, int len1);

 struct symlink_info
 {



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]