Changeset 3cada05b in rtems


Ignore:
Timestamp:
Dec 4, 2011, 8:53:25 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
26597fc1
Parents:
bbc0615
Message:

2011-12-04 Ralf Corsépius <ralf.corsepius@…>

  • libmisc/shell/shell_cmdset.c: Remove superflous casts.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rbbc0615 r3cada05b  
     12011-12-04      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libmisc/shell/shell_cmdset.c: Remove superflous casts.
     4
    152011-12-03      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/libmisc/shell/shell_cmdset.c

    rbbc0615 r3cada05b  
    6060    shell_topic=shell_topic->next;
    6161  }
    62   return (rtems_shell_topic_t *) NULL;
     62  return NULL;
    6363}
    6464
     
    7272    aux = malloc(sizeof(rtems_shell_topic_t));
    7373    aux->topic = topic;
    74     aux->next  = (rtems_shell_topic_t*)NULL;
     74    aux->next  = NULL;
    7575    return rtems_shell_first_topic = aux;
    7676  }
     
    8686  aux = malloc(sizeof(rtems_shell_topic_t));
    8787  aux->topic = topic;
    88   aux->next = (rtems_shell_topic_t*)NULL;
     88  aux->next = NULL;
    8989  current->next = aux;
    9090  return aux;
     
    101101   shell_cmd=shell_cmd->next;
    102102  };
    103   return (rtems_shell_cmd_t *) NULL;
     103  return NULL;
    104104}
    105105
Note: See TracChangeset for help on using the changeset viewer.