]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_cmdline/cmdline_parse_portlist.h
net/virtio: fix incorrect cast of void *
[dpdk.git] / lib / librte_cmdline / cmdline_parse_portlist.h
index 6fdc406abaced486d6d217e10ab6eddf200abf72..058df3eefdb11275d6ef2d68f32e27d9c044c17c 100644 (file)
@@ -61,6 +61,9 @@
 #ifndef _PARSE_PORTLIST_H_
 #define _PARSE_PORTLIST_H_
 
+#include <stdint.h>
+#include <cmdline_parse.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -81,9 +84,9 @@ typedef struct cmdline_token_portlist cmdline_parse_token_portlist_t;
 extern struct cmdline_token_ops cmdline_token_portlist_ops;
 
 int cmdline_parse_portlist(cmdline_parse_token_hdr_t *tk,
-                     const char *srcbuf, void *res);
+       const char *srcbuf, void *res, unsigned ressize);
 int cmdline_get_help_portlist(cmdline_parse_token_hdr_t *tk,
-                        char *dstbuf, unsigned int size);
+       char *dstbuf, unsigned int size);
 
 #define TOKEN_PORTLIST_INITIALIZER(structure, field)        \
 {                                                           \