summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/cygmalloc.h')
-rw-r--r--winsup/cygwin/cygmalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/cygmalloc.h b/winsup/cygwin/cygmalloc.h
index 1a0235d3a..bf3a6237b 100644
--- a/winsup/cygwin/cygmalloc.h
+++ b/winsup/cygwin/cygmalloc.h
@@ -17,8 +17,8 @@ extern "C" {
#ifndef __reg2
# define __reg2 __stdcall __attribute__ ((regparm (2)))
#endif
-#ifndef __reg2
-# define __reg2 __stdcall __attribute__ ((regparm (2)))
+#ifndef __reg3
+# define __reg3 __stdcall __attribute__ ((regparm (3)))
#endif
void __reg1 dlfree (void *p);
void __reg1 *dlmalloc (unsigned size);