diff options
Diffstat (limited to 'libdecnumber/decLibrary.c')
-rw-r--r-- | libdecnumber/decLibrary.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libdecnumber/decLibrary.c b/libdecnumber/decLibrary.c index 5a172502ef0..7e5e928edc2 100644 --- a/libdecnumber/decLibrary.c +++ b/libdecnumber/decLibrary.c @@ -74,22 +74,3 @@ isinfd128 (_Decimal128 arg) decimal128ToNumber (&d128, &dn); return (decNumberIsInfinite (&dn)); } - -uint32_t -__dec_byte_swap (uint32_t in) -{ - uint32_t out = 0; - unsigned char *p = (unsigned char *) &out; - union { - uint32_t i; - unsigned char b[4]; - } u; - - u.i = in; - p[0] = u.b[3]; - p[1] = u.b[2]; - p[2] = u.b[1]; - p[3] = u.b[0]; - - return out; -} |