summaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-03 16:50:05 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-03 16:50:05 +0000
commitf66be06b01f231e3309cb6a7fb3b88bd3a6aad00 (patch)
tree030df243de19137f076b9781c368c93c9546558d /libgfortran/libgfortran.h
parentd2b0211b56e5be863a5123d23fca3072f1b6c643 (diff)
downloadgcc-f66be06b01f231e3309cb6a7fb3b88bd3a6aad00.tar.gz
Fortran frontend:
2007-07-03 Janne Blomqvist <jb@gcc.gnu.org> * trans-decl.c (gfc_build_builtin_function_decls): Mark internal_realloc as a malloc function. libgfortran: 2007-07-03 Janne Blomqvist <jb@gcc.gnu.org> * libgfortran.h: Mark internal_malloc_size as a malloc function. * runtime/memory.c (internal_realloc_size): Remove. (internal_realloc): Call realloc directly instead of internal_realloc_size. (allocate_size): Remove. (allocate): Call malloc directly instead of allocate_size, mark as malloc function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126264 138bc75d-0d04-0410-961f-82ee72b054a4
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 f73594dc4d7..8a86f41785d 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -634,7 +634,7 @@ internal_proto(get_mem);
extern void free_mem (void *);
internal_proto(free_mem);
-extern void *internal_malloc_size (size_t);
+extern void *internal_malloc_size (size_t) __attribute__ ((malloc));
internal_proto(internal_malloc_size);
/* environ.c */