mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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>
This commit is contained in:
@@ -67,7 +67,7 @@ ovs_assert_failure(const char *where, const char *function,
|
||||
case 0:
|
||||
VLOG_ABORT("%s: assertion %s failed in %s()",
|
||||
where, condition, function);
|
||||
NOT_REACHED();
|
||||
OVS_NOT_REACHED();
|
||||
|
||||
case 1:
|
||||
fprintf(stderr, "%s: assertion %s failed in %s()",
|
||||
@@ -1360,7 +1360,7 @@ scan_float(const char *s, const struct scan_spec *spec, va_list *args)
|
||||
case SCAN_INTMAX_T:
|
||||
case SCAN_PTRDIFF_T:
|
||||
case SCAN_SIZE_T:
|
||||
NOT_REACHED();
|
||||
OVS_NOT_REACHED();
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
Reference in New Issue
Block a user