diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gmputil.c | 10 | ||||
-rw-r--r-- | src/libnftables.c | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/gmputil.c b/src/gmputil.c index 7f65630d..bf472c65 100644 --- a/src/gmputil.c +++ b/src/gmputil.c @@ -197,13 +197,3 @@ int mpz_vfprintf(FILE *fp, const char *f, va_list args) return n; } #endif - -static void *gmp_xrealloc(void *ptr, size_t old_size, size_t new_size) -{ - return xrealloc(ptr, new_size); -} - -void gmp_init(void) -{ - mp_set_memory_functions(xmalloc, gmp_xrealloc, NULL); -} diff --git a/src/libnftables.c b/src/libnftables.c index 7d36577d..cedd710b 100644 --- a/src/libnftables.c +++ b/src/libnftables.c @@ -196,7 +196,6 @@ struct nft_ctx *nft_ctx_new(uint32_t flags) if (!init_once) { init_once = true; - gmp_init(); #ifdef HAVE_LIBXTABLES xt_init(); #endif |