diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-04-27 13:16:21 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-04-27 13:16:21 +0000 |
commit | 1e8877aad4b8ebf16a5592ed37c7278fe8a64244 (patch) | |
tree | d51e211449ca4b8aaa00dd4fd5cdc507d7e8e3a9 /gdb/vec.h | |
parent | 5d6696482af3f34be30e71905739afeb3b9d42f4 (diff) | |
download | gdb-1e8877aad4b8ebf16a5592ed37c7278fe8a64244.zip gdb-1e8877aad4b8ebf16a5592ed37c7278fe8a64244.tar.gz gdb-1e8877aad4b8ebf16a5592ed37c7278fe8a64244.tar.bz2 |
* vec.h (vec_free): Rename to vec_free_. Adapt users.
Diffstat (limited to 'gdb/vec.h')
-rw-r--r-- | gdb/vec.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -378,7 +378,7 @@ /* Reallocate an array of elements with prefix. */ extern void *vec_p_reserve (void *, int); extern void *vec_o_reserve (void *, int, size_t, size_t); -#define vec_free(V) xfree (V) +#define vec_free_(V) xfree (V) #define VEC_ASSERT_INFO ,__FILE__,__LINE__ #define VEC_ASSERT_DECL ,const char *file_,unsigned line_ @@ -458,7 +458,7 @@ static inline void VEC_OP (T,free) \ (VEC(T) **vec_) \ { \ if (*vec_) \ - vec_free (*vec_); \ + vec_free_ (*vec_); \ *vec_ = NULL; \ } \ \ @@ -696,7 +696,7 @@ static inline void VEC_OP (T,free) \ (VEC(T) **vec_) \ { \ if (*vec_) \ - vec_free (*vec_); \ + vec_free_ (*vec_); \ *vec_ = NULL; \ } \ \ @@ -954,7 +954,7 @@ static inline void VEC_OP (T,free) \ (VEC(T) **vec_) \ { \ if (*vec_) \ - vec_free (*vec_); \ + vec_free_ (*vec_); \ *vec_ = NULL; \ } \ \ |