summaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index 04188066300..6b4775a1365 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -202,7 +202,7 @@ extern int __mingw_snprintf (char *, size_t, const char *, ...)
# define iexport(x) iexport1(x, IPREFIX(x))
# define iexport1(x,y) iexport2(x,y)
# define iexport2(x,y) \
- extern __typeof(x) PREFIX(x) __attribute__((__alias__(#y)))
+ extern __typeof(x) PREFIX(x) __attribute__((__alias__(#y), __copy__ (x)))
#else
# define export_proto(x) sym_rename(x, PREFIX(x))
# define export_proto_np(x) extern char swallow_semicolon