testing/memstress:Fix FAR prefix
Summary: Add FAR before some pointer declarations Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
74a8d98a32
commit
1d9f045068
@ -97,10 +97,10 @@ struct memorystress_node_s
|
||||
|
||||
struct memorystress_context_s
|
||||
{
|
||||
struct memorystress_node_s *node_array;
|
||||
struct memorystress_config_s *config;
|
||||
FAR struct memorystress_node_s *node_array;
|
||||
FAR struct memorystress_config_s *config;
|
||||
FAR pthread_t *threads;
|
||||
struct memorystress_error_s error;
|
||||
pthread_t *threads;
|
||||
uint32_t sleep_us;
|
||||
size_t nthreads;
|
||||
bool debug;
|
||||
@ -476,11 +476,11 @@ static void init(FAR struct memorystress_context_s *context, int argc,
|
||||
* Name: memorystress_thread
|
||||
****************************************************************************/
|
||||
|
||||
FAR void *memorystress_thread(void *arg)
|
||||
FAR void *memorystress_thread(FAR void *arg)
|
||||
{
|
||||
FAR struct memorystress_context_s *context;
|
||||
|
||||
context = (struct memorystress_context_s *)arg;
|
||||
context = (FAR struct memorystress_context_s *)arg;
|
||||
while (memorystress_iter(context))
|
||||
{
|
||||
usleep(context->sleep_us);
|
||||
|
Loading…
Reference in New Issue
Block a user