lib/parse_opts: Multiple fixes

- Fix TEST_RETURN definition to match that of the exported API in
  usctest.h
- drop undefined TIMING option
- Add missing argument for parse_opts when UNIT_TEST macro is used

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Reviewed-by: Garrett Cooper <yanegomi@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
diff --git a/lib/parse_opts.c b/lib/parse_opts.c
index 358106e..4530913 100644
--- a/lib/parse_opts.c
+++ b/lib/parse_opts.c
@@ -832,14 +832,13 @@
 
 struct usc_errno_t TEST_VALID_ENO[USC_MAX_ERRNO];
 
-int TEST_RETURN;
+long TEST_RETURN;
 int TEST_ERRNO;
 
 /* for test specific parse_opts options */
 option_t Options[] = {
         { "help",  &Help2, NULL },      /* -help option */
         { "h",  &Help, NULL },          /* -h option */
- 	{ TIMING, NULL, NULL},		/* disable -timing option */
 
 #if INVALID_TEST_CASES
  	{ "missingflag", NULL, &ptr },  /* error */
@@ -856,7 +855,7 @@
     struct timeval t;
     int cnt;
 
-    if ((msg = parse_opts(argc, argv, Options)) != NULL) {
+    if ((msg = parse_opts(argc, argv, Options, NULL)) != NULL) {
 	printf("ERROR: %s\n", msg);
 	exit(1);
     }