summaryrefslogtreecommitdiff
path: root/tests/test-heap.c
diff options
context:
space:
mode:
authorHarold Lim <haroldl@vmware.com>2013-12-17 10:32:12 -0800
committerBen Pfaff <blp@nicira.com>2013-12-17 13:16:39 -0800
commit428b2eddc9c47d8306252f0fc5218839d2ff017c (patch)
tree2f9ad52cff91369bc8e527d59ab4dcec422b3a88 /tests/test-heap.c
parent037821cf99cadc12e0391dc3fc1961499a20c9fd (diff)
downloadopenvswitch-428b2eddc9c47d8306252f0fc5218839d2ff017c.tar.gz
Rename NOT_REACHED to OVS_NOT_REACHED
This allows other libraries to use util.h that has already defined NOT_REACHED. Signed-off-by: Harold Lim <haroldl@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/test-heap.c')
-rw-r--r--tests/test-heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-heap.c b/tests/test-heap.c
index dd5aaa956..ccb14846a 100644
--- a/tests/test-heap.c
+++ b/tests/test-heap.c
@@ -221,7 +221,7 @@ test_insert_delete__(struct element *elements,
goto found;
}
}
- NOT_REACHED();
+ OVS_NOT_REACHED();
found:
heap_remove(&heap, &element->heap_node);
@@ -260,7 +260,7 @@ test_insert_delete_raw__(struct element *elements,
goto found;
}
}
- NOT_REACHED();
+ OVS_NOT_REACHED();
found:
heap_raw_remove(&heap, &element->heap_node);