Changeset 11b4e07 in rtems


Ignore:
Timestamp:
Feb 1, 2006, 6:39:45 PM (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d2e1d3a
Parents:
9bb263d5
Message:

2006-02-01 Joel Sherrill <joel@…>

  • rtems/src/tasks.c, rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c: Remove warnings.
Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r9bb263d5 r11b4e07  
     12006-02-01      Joel Sherrill <joel@OARcorp.com>
     2
     3        * rtems/src/tasks.c, rtems/src/taskvariableadd.c,
     4        rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c: Remove
     5        warnings.
     6
    172006-01-18      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/rtems/src/tasks.c

    r9bb263d5 r11b4e07  
    112112  deleted->task_variables = NULL;
    113113  while (tvp) {
    114     next = tvp->next;
     114    next = (rtems_task_variable_t *)tvp->next;
    115115    if (_Thread_Is_executing(deleted)) {
    116116      if  (tvp->dtor)
     
    155155    tvp->tval = *tvp->ptr;
    156156    *tvp->ptr = tvp->gval;
    157     tvp = tvp->next;
     157    tvp = (rtems_task_variable_t *)tvp->next;
    158158  }
    159159
     
    162162    tvp->gval = *tvp->ptr;
    163163    *tvp->ptr = tvp->tval;
    164     tvp = tvp->next;
     164    tvp = (rtems_task_variable_t *)tvp->next;
    165165  }
    166166}
  • cpukit/rtems/src/taskvariableadd.c

    r9bb263d5 r11b4e07  
    6767        return RTEMS_SUCCESSFUL;
    6868      }
    69       tvp = tvp->next;
     69      tvp = (rtems_task_variable_t *)tvp->next;
    7070    }
    7171
  • cpukit/rtems/src/taskvariabledelete.c

    r9bb263d5 r11b4e07  
    5959    while (tvp) {
    6060      if (tvp->ptr == ptr) {
    61         if (prev) prev->next = tvp->next;
    62         else      the_thread->task_variables = tvp->next;
     61        if (prev)
     62          prev->next = tvp->next;
     63        else     
     64          the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
    6365        if (_Thread_Is_executing(the_thread)) {
    6466          if (tvp->dtor)
     
    7476      }
    7577      prev = tvp;
    76       tvp = tvp->next;
     78      tvp = (rtems_task_variable_t *)tvp->next;
    7779    }
    7880    _Thread_Enable_dispatch();
  • cpukit/rtems/src/taskvariableget.c

    r9bb263d5 r11b4e07  
    7474        return RTEMS_SUCCESSFUL;
    7575      }
    76       tvp = tvp->next;
     76      tvp = (rtems_task_variable_t *)tvp->next;
    7777    }
    7878    _Thread_Enable_dispatch();
Note: See TracChangeset for help on using the changeset viewer.