From 0df3e8966c0d6afc119adeede8851a513996be95 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 7 Mar 2013 06:38:37 -0700 Subject: [PATCH] build: avoid shadowing a function name Make the same fix as in commit de53eff. * src/util/viralloc.h (virDeleteElementsN): Cater to old glibc. --- src/util/viralloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/viralloc.h b/src/util/viralloc.h index 3c97a58804..6f46d0b4e1 100644 --- a/src/util/viralloc.h +++ b/src/util/viralloc.h @@ -64,7 +64,7 @@ int virInsertElementsN(void *ptrptr, size_t size, size_t at, size_t *countptr, bool clearOriginal, bool inPlace) ATTRIBUTE_RETURN_CHECK ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(4); int virDeleteElementsN(void *ptrptr, size_t size, size_t at, size_t *countptr, - size_t remove, bool inPlace) + size_t toremove, bool inPlace) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(4); int virAllocVar(void *ptrptr, size_t struct_size,