From f218391fb8d3c9fde3a4897a1188f0aec811dcbe Mon Sep 17 00:00:00 2001 From: Arturo Borrero Gonzalez Date: Mon, 1 Jul 2019 12:53:10 +0200 Subject: libnftables: reallocate definition of nft_print() and nft_gmp_print() They are not part of the libnftables library API, they are not public symbols, so it doesn't not make sense to have them there. Move the two functions to a different source file so libnftables.c only has the API functions. I think copyright belongs to Phil Sutter since he introduced this code back in commit 2535ba7006f22a6470f4c88ea7d30c343a1d8799 (src: get rid of printf). Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index fd641755..a1c18fe2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -62,6 +62,7 @@ libnftables_la_SOURCES = \ nfnl_osf.c \ tcpopt.c \ socket.c \ + print.c \ libnftables.c # yacc and lex generate dirty code -- cgit v1.2.3