--- projects/libstatgrab/src/libstatgrab/vector.c 2004/04/05 00:58:05 1.4 +++ projects/libstatgrab/src/libstatgrab/vector.c 2004/04/05 15:40:15 1.5 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: vector.c,v 1.4 2004/04/05 00:58:05 ats Exp $ + * $Id: vector.c,v 1.5 2004/04/05 15:40:15 ats Exp $ */ #ifdef HAVE_CONFIG_H @@ -29,7 +29,7 @@ #include "vector.h" -void *statgrab_vector_resize(void *vector, vector_header *h, int count) { +void *sg_vector_resize(void *vector, vector_header *h, int count) { int new_count, i; /* Destroy any now-unused items. @@ -55,7 +55,7 @@ void *statgrab_vector_resize(void *vector, vector_head new_vector = realloc(vector, new_count * h->item_size); if (new_vector == NULL && new_count != 0) { /* Out of memory -- free the contents of the vector. */ - statgrab_vector_resize(vector, h, 0); + sg_vector_resize(vector, h, 0); h->error = -1; return vector; }