aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-26 20:56:45 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-26 20:56:45 +0000
commit3e52c8225a7f45bd867b4a320c74209845e2226d (patch)
tree3876dc747d154274cf385e6bca409643f21a1cae /libgfortran/libgfortran.h
parent031b9c5cfc1da67fba90780865fe5a0e98d2e294 (diff)
Introduce xrealloc, use it.
2014-05-26 Janne Blomqvist <jb@gcc.gnu.org> * libgfortran.h (xrealloc): New prototype. * runtime/memory.c (xrealloc): New function. * io/fbuf.c (fbuf_alloc): Use xrealloc. * io/list_read.c (push_char_default): Likewise. (push_char4): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210948 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index ba6c1e91893..b3e8a2e7cfd 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -771,6 +771,8 @@ internal_proto(xmalloc);
extern void *xcalloc (size_t, size_t) __attribute__ ((malloc));
internal_proto(xcalloc);
+extern void *xrealloc (void *, size_t);
+internal_proto(xrealloc);
/* environ.c */