Do only one call to GetVersionEx in the common case.
[pspp] / lib / gl_oset.c
index 9e364f264515d0e5409455d57980788110556c8f..6ec8fb07a339b246d0b92be76bae281aa3716867 100644 (file)
@@ -1,5 +1,5 @@
 /* Abstract ordered set data type.
-   Copyright (C) 2006-2007 Free Software Foundation, Inc.
+   Copyright (C) 2006-2007, 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
@@ -64,7 +64,8 @@ gl_oset_add (gl_oset_t set, const void *elt)
 bool
 gl_oset_remove (gl_oset_t set, const void *elt)
 {
-  return ((const struct gl_oset_impl_base *) set)->vtable->remove (set, elt);
+  return ((const struct gl_oset_impl_base *) set)->vtable
+        ->remove_elt (set, elt);
 }
 
 void