X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fbyte_order.h;h=87918f14e5c0a1a644e06364fe118608efdb22da;hb=933fcf489391f715339af685faefaf28701ecce2;hp=4cdc06fb3296d4cef452fb275a9f18a773479e95;hpb=70d44d347a58caef0a4417bdc587a37b0a638783;p=vpp.git diff --git a/src/vppinfra/byte_order.h b/src/vppinfra/byte_order.h index 4cdc06fb329..87918f14e5c 100644 --- a/src/vppinfra/byte_order.h +++ b/src/vppinfra/byte_order.h @@ -210,6 +210,14 @@ _(i64); #undef _ +/* Dummy endian swap functions for IEEE floating-point numbers */ +/* *INDENT-OFF* */ +always_inline f64 clib_net_to_host_f64 (f64 x) { return x; } +always_inline f64 clib_host_to_net_f64 (f64 x) { return x; } +always_inline f32 clib_net_to_host_f32 (f32 x) { return x; } +always_inline f32 clib_host_to_net_f32 (f32 x) { return x; } +/* *INDENT-ON* */ + #endif /* included_clib_byte_order_h */ /*