summaryrefslogtreecommitdiff
path: root/gcc/fortran/misc.c
diff options
context:
space:
mode:
authormeyering <meyering@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-18 19:21:05 +0000
committermeyering <meyering@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-18 19:21:05 +0000
commite8ad0498ebe5ae490cbf531739836c718e61c369 (patch)
tree0ab058f1627dfbbc50e9d116b4b91c32a98caf15 /gcc/fortran/misc.c
parent434f092231694da7f3e57535805284d65cfbbe22 (diff)
downloadgcc-e8ad0498ebe5ae490cbf531739836c718e61c369.tar.gz
remove now-unused definition of gfc_free
* misc.c (gfc_free): Remove function. * gfortran.h (gfc_free): Remove its prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/misc.c')
-rw-r--r--gcc/fortran/misc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/fortran/misc.c b/gcc/fortran/misc.c
index 76dd2ef3f87..a54ffc09d6d 100644
--- a/gcc/fortran/misc.c
+++ b/gcc/fortran/misc.c
@@ -42,16 +42,6 @@ gfc_getmem (size_t n)
}
-void
-gfc_free (void *p)
-{
- /* The parentheses around free are needed in order to call not
- the redefined free of gfortran.h. */
- if (p != NULL)
- (free) (p);
-}
-
-
/* Get terminal width. */
int