summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/java/jvpp-ioampot
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-04-06 09:37:00 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-04-06 08:15:00 +0000
commit77ff34d550fcb418ac3266296c55d92e21fc2063 (patch)
tree7a1726b640d68469841d2624663b562933c83998 /src/vpp-api/java/jvpp-ioampot
parent12cb0c4cdbf0f2f96f59f28fb58c678ebea2278a (diff)
jvpp: remove unused print&endian headers (fixes VPP-688)
Change-Id: I97e03d98758a08b1f75a9a1f35f0181385a10ae8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'src/vpp-api/java/jvpp-ioampot')
-rw-r--r--src/vpp-api/java/jvpp-ioampot/jvpp_ioam_pot.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/vpp-api/java/jvpp-ioampot/jvpp_ioam_pot.c b/src/vpp-api/java/jvpp-ioampot/jvpp_ioam_pot.c
index f7e2b901cdf..5f28344e579 100644
--- a/src/vpp-api/java/jvpp-ioampot/jvpp_ioam_pot.c
+++ b/src/vpp-api/java/jvpp-ioampot/jvpp_ioam_pot.c
@@ -20,15 +20,6 @@
#include <ioam/lib-pot/pot_all_api_h.h>
#undef vl_typedefs
-#define vl_endianfun
-#include <ioam/lib-pot/pot_all_api_h.h>
-#undef vl_endianfun
-
-#define vl_print(handle, ...)
-#define vl_printfun
-#include <ioam/lib-pot/pot_all_api_h.h>
-#undef vl_printfun
-
#include <vnet/api_errno.h>
#include <vlibapi/api.h>
#include <vlibmemory/api.h>
@@ -71,8 +62,8 @@ JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_ioampot_JVppIoampotImpl_init0
vl_msg_api_set_handlers(get_message_id(env, #N), #n, \
vl_api_##n##_t_handler, \
vl_noop_handler, \
- vl_api_##n##_t_endian, \
- vl_api_##n##_t_print, \
+ vl_noop_handler, \
+ vl_noop_handler, \
sizeof(vl_api_##n##_t), 1);
foreach_api_reply_handler;
#undef _