Changeset fe684ef in examples-v2


Ignore:
Timestamp:
Sep 5, 2014, 3:43:01 AM (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
cf50e57
Parents:
d1f602e
Message:

Clean up warnings.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • benchmarks/nbench/main.c

    rd1f602e rfe684ef  
    22 *  Written by Petri Rokka <petri.rokka@tut.fi> based
    33 *  upon numerous RTEMS examples.
    4  *   
     4 *
    55 *  The license and distribution terms for this file may be
    66 *  found in the file LICENSE in this distribution or at
     
    6464rtems_task task_nbench(rtems_task_argument arg)
    6565{
    66   char **args[1] = {"./nbench"};
     66  char *args[1] = {"./nbench"};
    6767  nbench_main(1, args);
    6868}
     
    7272  rtems_status_code   sc;
    7373  rtems_id            task_id_nbench;
    74   char              **args[1] = {"./nbench"};
     74  char               *args[1] = {"./nbench"};
    7575  rtems_interval      tickspersec;
    7676
  • file_io/crc/init.c

    rd1f602e rfe684ef  
    3636
    3737  printf("Unpacking tar filesystem\nThis may take awhile...\n");
    38   if(Untar_FromMemory(FilesystemImage, FilesystemImage_size) != 0) {
     38  if(Untar_FromMemory((char*) FilesystemImage, FilesystemImage_size) != 0) {
    3939    printf("Can't unpack tar filesystem\n");
    4040    exit(1);
    4141  }
    42        
     42
    4343  crc32file(in_file,&crc, &charcnt);
    4444  printf("%08lX %7ld %s\n", crc, charcnt, in_file);
  • filesystem/fat_ramdisk/init.c

    rd1f602e rfe684ef  
    5757  rtems_device_major_number major;
    5858  rtems_status_code         sc;
    59  
     59
    6060  /*
    6161   * Register the RAM Disk driver.
     
    112112
    113113  printf("Unpacking tar filesystem\nThis may take awhile...\n");
    114   if(Untar_FromMemory(FilesystemImage, FilesystemImage_size) != 0) {
     114  if(Untar_FromMemory((char*) FilesystemImage, FilesystemImage_size) != 0) {
    115115    printf("Can't unpack tar filesystem\n");
    116116    exit(1);
  • gdb/overwrite/rtems_init.c

    rd1f602e rfe684ef  
    22 *  Wrapper for Overwrite main().
    33 */
     4
     5#include <stdlib.h>
    46
    57#include <bsp.h>
Note: See TracChangeset for help on using the changeset viewer.