summaryrefslogtreecommitdiff
path: root/lib/gl_list.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-09-28 23:25:49 +0200
committerBruno Haible <bruno@clisp.org>2009-09-28 23:25:49 +0200
commite21985ad14508137d75b0dccf064adfc4e5888c6 (patch)
tree4a4758b1b8ad43a2f0e83ae92036588cb576526e /lib/gl_list.c
parentf3b9bef4c6e71125c4996e24505bc873f3cbc77c (diff)
downloadgnulib-e21985ad14508137d75b0dccf064adfc4e5888c6.tar.gz
Avoid identifier clash with POSIX function 'remove' defined as a macro.
Diffstat (limited to 'lib/gl_list.c')
-rw-r--r--lib/gl_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gl_list.c b/lib/gl_list.c
index 9eca9e4e3f..d99ed4e266 100644
--- a/lib/gl_list.c
+++ b/lib/gl_list.c
@@ -1,5 +1,5 @@
/* Abstract sequential list data type.
- Copyright (C) 2006-2008 Free Software Foundation, Inc.
+ Copyright (C) 2006-2009 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2006.
This program is free software: you can redistribute it and/or modify
@@ -197,7 +197,7 @@ bool
gl_list_remove (gl_list_t list, const void *elt)
{
return ((const struct gl_list_impl_base *) list)->vtable
- ->remove (list, elt);
+ ->remove_elt (list, elt);
}
void