Changeset 07ac1735 in rtems for testsuites/samples


Ignore:
Timestamp:
Apr 22, 2016, 1:15:40 AM (4 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
018cf74
Parents:
381b120
git-author:
Joel Sherrill <joel@…> (04/22/16 01:15:40)
git-committer:
Joel Sherrill <joel@…> (06/16/16 14:03:23)
Message:

samples/base_mp/apptask.c: Fix warning and clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/base_mp/apptask.c

    r381b120 r07ac1735  
    1 /*  Application_task
     1/**
     2 * @file
    23 *
    3  *  This routine is as an example of an application task which
    4  *  prints a message including its RTEMS task id.  This task
    5  *  then invokes exit to return to the monitor.
    6  *
    7  *  Input parameters:
    8  *    node - processor's node number
    9  *
    10  *  Output parameters:  NONE
    11  *
    12  *  COPYRIGHT (c) 1989-1999.
     4 * This routine is as an example of an application task which
     5 * prints a message including its RTEMS task id.  This task
     6 * then invokes exit to return to the monitor.
     7 */
     8
     9/*
     10 *  COPYRIGHT (c) 1989-1999, 2016.
    1311 *  On-Line Applications Research Corporation (OAR).
    1412 *
     
    3533  rtems_status_code status;
    3634
    37   status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
     35  rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
     36  (void) status;
    3837  printf( "This task was invoked with the node argument (%" PRIdrtems_task_argument ")\n", node );
    3938  printf( "This task has the id of 0x%" PRIxrtems_id "\n",  tid );
Note: See TracChangeset for help on using the changeset viewer.