[LTP] [PATCH 1/1] tst_test.h: Include common headers to fix missing function declaration

Petr Vorel pvorel@suse.cz
Mon Apr 15 14:06:37 CEST 2019


Hi Cyril,

> >  #include <unistd.h>
> >  #include <limits.h>
> > +#include <string.h>
> > +#include <strings.h>
> > +#include <stdlib.h>

> Can we please get rid of the deprecated functions from strings.h instead
> of simply including it?
Sure, I'll do it sooner or later :). I guess you're against <stdlib.h> as well
(I found only one file needing it so far), so I'll include just <string.h>
(which usage is massive), ok?

Kind regards,
Petr


More information about the ltp mailing list