[PATCH nft 2/5] src: gmputil: Remove mpz_get_be64() function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mpz_get_be64() is not used anywhere in source code. So remove it.

Signed-off-by: Varsha Rao <rvarsha016@xxxxxxxxx>
---
 include/gmputil.h | 1 -
 src/gmputil.c     | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/include/gmputil.h b/include/gmputil.h
index 1bf696a..9c37221 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 844ea61..3cc4e61 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);
-- 
2.13.5

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux