git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal: return error when option register fails
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_option.h
diff --git
a/lib/librte_eal/common/include/rte_option.h
b/lib/librte_eal/common/include/rte_option.h
index
20be47d
..
7ad65a4
100644
(file)
--- a/
lib/librte_eal/common/include/rte_option.h
+++ b/
lib/librte_eal/common/include/rte_option.h
@@
-57,8
+57,12
@@
struct rte_option {
*
* @param opt
* Structure describing the option to parse.
+ *
+ * @return
+ * 0 on success, <0 otherwise.
*/
-void __rte_experimental
+__rte_experimental
+int
rte_option_register(struct rte_option *opt);
#ifdef __cplusplus