diff options
author | John R. Moore <jmoore@redhat.com> | 2001-02-02 20:01:16 +0000 |
---|---|---|
committer | John R. Moore <jmoore@redhat.com> | 2001-02-02 20:01:16 +0000 |
commit | 65639b5d3d3786def6fe6f0299b295f6955a126c (patch) | |
tree | 81ec067401bc72ba75ff5a7eef6adf143f1d8f6c /gdb/value.h | |
parent | a17026d64f908fd9114dcca784d683ebdf0a0aff (diff) | |
download | gdb-65639b5d3d3786def6fe6f0299b295f6955a126c.tar.gz |
Changed free() to xfree() where appropriate. Also changed Copyright to
include 2001.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h index a40406621f0..0240fa985dc 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); |