ofproto: Inline trivial functions.
[sliver-openvswitch.git] / lib / smap.c
index b81ac09..0d75733 100644 (file)
@@ -15,7 +15,7 @@
 #include <config.h>
 #include "smap.h"
 
-#include <assert.h>
+#include <strings.h>
 
 #include "hash.h"
 #include "json.h"
@@ -251,7 +251,7 @@ smap_sort(const struct smap *smap)
         SMAP_FOR_EACH (node, smap) {
             nodes[i++] = node;
         }
-        assert(i == n);
+        ovs_assert(i == n);
 
         qsort(nodes, n, sizeof *nodes, compare_nodes_by_key);