From: Varsha Rao Date: Wed, 16 Aug 2017 14:18:14 +0000 (+0530) Subject: src: gmputil: Remove mpz_get_be64() function. X-Git-Tag: v0.8~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df39a5b9204964bdf90e328a894c606a12b16b2c;p=thirdparty%2Fnftables.git src: gmputil: Remove mpz_get_be64() function. mpz_get_be64() is not used anywhere in source code. So remove it. Signed-off-by: Varsha Rao Signed-off-by: Pablo Neira Ayuso --- diff --git a/include/gmputil.h b/include/gmputil.h index 1bf696a5..9c372216 100644 --- a/include/gmputil.h +++ b/include/gmputil.h @@ -45,7 +45,6 @@ extern uint32_t mpz_get_uint32(const mpz_t op); extern uint16_t mpz_get_uint16(const mpz_t op); extern uint8_t mpz_get_uint8(const mpz_t op); -extern uint64_t mpz_get_be64(const mpz_t op); extern uint32_t mpz_get_be32(const mpz_t op); extern uint16_t mpz_get_be16(const mpz_t op); diff --git a/src/gmputil.c b/src/gmputil.c index 844ea618..3cc4e61f 100644 --- a/src/gmputil.c +++ b/src/gmputil.c @@ -77,11 +77,6 @@ uint8_t mpz_get_uint8(const mpz_t op) return mpz_get_type(uint8_t, MPZ_HOST_ENDIAN, op); } -uint64_t mpz_get_be64(const mpz_t op) -{ - return mpz_get_type(uint64_t, MPZ_BIG_ENDIAN, op); -} - uint32_t mpz_get_be32(const mpz_t op) { return mpz_get_type(uint32_t, MPZ_BIG_ENDIAN, op);