Skip to content

Commit

Permalink
fixing windows compiler issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Mar 23, 2009
1 parent 69b0581 commit 33d1f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/nokogiri/xml_node_set.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Duplicate this node set
*/
static VALUE dup(VALUE self)
static VALUE duplicate(VALUE self)
{
xmlNodeSetPtr node_set;
Data_Get_Struct(self, xmlNodeSet, node_set);
Expand Down Expand Up @@ -195,5 +195,5 @@ void init_xml_node_set(void)
rb_define_method(klass, "push", push, 1);
rb_define_method(klass, "unlink", unlink_nodeset, 0);
rb_define_method(klass, "to_a", to_array, 0);
rb_define_method(klass, "dup", dup, 0);
rb_define_method(klass, "dup", duplicate, 0);
}

0 comments on commit 33d1f5a

Please sign in to comment.