summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/options.c b/options.c
index dcd52ca..3f907e9 100644
--- a/options.c
+++ b/options.c
@@ -181,11 +181,13 @@ int options_parse(options_t* opt, int argc, char* argv[])
return 0;
}
-void options_parse_post(options_t* opt)
+int options_parse_post(options_t* opt)
{
if(!opt)
- return;
+ return -1;
// nothing to do
+
+ return 0;
}
void options_default(options_t* opt)