ofp-parse: Correctly update bucket lists if they are empty.
[cascardo/ovs.git] / lib / list.h
index 0da082e..a257f8a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009, 2010, 2011, 2013 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2013, 2015 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ void list_splice(struct list *before, struct list *first, struct list *last);
 void list_push_front(struct list *, struct list *);
 void list_push_back(struct list *, struct list *);
 void list_replace(struct list *, const struct list *);
-void list_moved(struct list *);
+void list_moved(struct list *, const struct list *orig);
 void list_move(struct list *dst, struct list *src);
 
 /* List removal. */