* vec.h (vec_free): Rename to vec_free_. Adapt users.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 27 Apr 2007 13:16:21 +0000 (13:16 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 27 Apr 2007 13:16:21 +0000 (13:16 +0000)
gdb/ChangeLog
gdb/vec.h

index ecc53adcbc1c101396bd362cb4053412cd50ff58..71467c7bc101e403a10e4a3997936cd00f297442 100644 (file)
@@ -1,3 +1,7 @@
+2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * vec.h (vec_free): Rename to vec_free_.  Adapt users.
+
 2007-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
index 6b22ed787b1dd5cb68c169754303f7a48ef34fb5..389296699a2f2e7fb7aaad80accbdea7c917d12f 100644 (file)
--- a/gdb/vec.h
+++ b/gdb/vec.h
 /* 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;                                                                  \
 }                                                                        \
                                                                          \