aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2007-07-03 19:50:05 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2007-07-03 19:50:05 +0300
commitdb430f6a2a5997bed3109eff088c4e86020378d0 (patch)
tree030df243de19137f076b9781c368c93c9546558d /libgfortran/libgfortran.h
parent66965e909473fef6462b537cdc4010b79d86159e (diff)
downloadgcc-db430f6a2a5997bed3109eff088c4e86020378d0.zip
gcc-db430f6a2a5997bed3109eff088c4e86020378d0.tar.gz
gcc-db430f6a2a5997bed3109eff088c4e86020378d0.tar.bz2
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. From-SVN: r126264
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 f73594dc..8a86f41 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 */