Hi!
> +static void usage(void);
>
> gcooper> Get rid of this function please (unused).
Well it's passed to parse_opts(), which is, by the way, just another
dumb LTP interface...
> +int main(int argc, char** argv)
> +{
> + FILE *fp;
> + void* addr;
> + int node;
> + struct bitmask *nmask = numa_allocate_nodemask();
> + int err;
> + char buf[BUFSIZ];
> + char start[BUFSIZ];
> + char end[BUFSIZ];
> + char string[BUFSIZ];
> + char *p;
> +
> + /* message returned from parse_opts */
> + char *msg;
> +
> + /* loop counter */
> + int lc;
> +
> + msg = parse_opts(argc, argv, options, usage);
> + if (msg != NULL) {
> + tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg);
> + tst_exit();
> + }
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list