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:
authorCorinna Vinschen <corinna@vinschen.de>2009-07-31 00:19:54 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-07-31 00:19:54 +0400
commiteeb6806f87ac641a32e483a1da4cbc58b3bd1913 (patch)
tree2989afa3da3439a18a987a098554634b1db92c7b
parent2ef2cd7a852c69f63c777929d6f56f9df59d2ac8 (diff)
* path.h (cstrdup): Fix declaration.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/path.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 836c23bca..69acf32be 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-30 Corinna Vinschen <corinna@vinschen.de>
+
+ * path.h (cstrdup): Fix declaration.
+
2009-07-29 Dave Korn <dave.korn.cygwin@googlemail.com>
* globals.cc (enum exit_states::ES_GLOBAL_DTORS): Delete.
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 7a8033d3d..8216d24ea 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -83,7 +83,7 @@ enum path_types
PATH_SOCKET = 0x40000000
};
-extern "C" char *__stdcall cstrdup (const char *s);
+extern "C" char *__stdcall cstrdup (const char *) __attribute__ ((regparm(1)));
class symlink_info;