[LTP] [PATCH v3 9/9] mmapstress01: reorder vars and functions
Cyril Hrubis
chrubis@suse.cz
Wed Oct 5 12:21:27 CEST 2022
Hi!
> diff --git a/testcases/kernel/mem/mmapstress/mmapstress01.c b/testcases/kernel/mem/mmapstress/mmapstress01.c
> index 9eced3526..f68193706 100644
> --- a/testcases/kernel/mem/mmapstress/mmapstress01.c
> +++ b/testcases/kernel/mem/mmapstress/mmapstress01.c
> @@ -72,26 +72,27 @@
> #define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
>
> static unsigned int initrand(void);
> -static void finish(int sig);
> static void child_mapper(char *file, unsigned int procno, unsigned int nprocs);
> static void fileokay(char *file, unsigned char *expbuf);
> +static void sighandler(int sig);
Most of these can be dropped now. The only that needs to stay is
initrand().
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list