aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorJohn R. Moore <jmoore@redhat.com>2001-02-02 20:01:16 +0000
committerJohn R. Moore <jmoore@redhat.com>2001-02-02 20:01:16 +0000
commit338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978 (patch)
tree312aaa3e2890cc0489ba149a944435086943ad5d /gdb/value.h
parent2b5436af18f524fe06dc946353b455c2e7179669 (diff)
downloadgdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.zip
gdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.tar.gz
gdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.tar.bz2
Changed free() to xfree() where appropriate. Also changed Copyright to
include 2001.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h
index a404066..0240fa9 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -1,5 +1,6 @@
/* Definitions for values of C expressions, for GDB.
- Copyright 1986, 1987, 1989, 1992-1996, 2000 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 2000, 2001
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -456,7 +457,7 @@ extern int unop_user_defined_p (enum exp_opcode op, value_ptr arg1);
extern int destructor_name_p (const char *name, const struct type *type);
-#define value_free(val) free ((PTR)val)
+#define value_free(val) xfree (val)
extern void free_all_values (void);