Changeset ba33011 in network-demos


Ignore:
Timestamp:
Jun 21, 2007, 6:26:30 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, network-demos-4-10-branch, network-demos-4-8-branch, network-demos-4-9-branch
Children:
30dff73
Parents:
557c93a
Message:

2007-06-21 Joel Sherrill <joel.sherrill@…>

  • init.c: More warnings removed.
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • dnstest/ChangeLog

    r557c93a rba33011  
     12007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * init.c: More warnings removed.
     4
    152007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • dnstest/init.c

    r557c93a rba33011  
    4343
    4444#include <stdio.h>
     45#include <stdlib.h>
    4546#include <rtems/rtems_bsdnet.h>
    4647#include "../networkconfig.h"
  • http/ChangeLog

    r557c93a rba33011  
     12007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * init.c: More warnings removed.
     4
    152007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • http/init.c

    r557c93a rba33011  
    103103  rtems_initialize_ftpd();
    104104
    105   status = Untar_FromMemory((unsigned char *)(&TARFILE_START), &TARFILE_SIZE);
     105  status = Untar_FromMemory((void *)(&TARFILE_START), (size_t)&TARFILE_SIZE);
    106106#endif
    107107   
  • netlink/ChangeLog

    r557c93a rba33011  
     12007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * init.c: More warnings removed.
     4
    152007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • netlink/init.c

    r557c93a rba33011  
    9292
    9393#if INCLUDE_FTPD
    94   status = Untar_FromMemory((unsigned char *)(&_binary_tarfile_start),
    95                             &_binary_tarfile_size);
     94  status = Untar_FromMemory((void *)(&_binary_tarfile_start),
     95                            (size_t)&_binary_tarfile_size);
    9696  rtems_initialize_ftpd();
    9797
     
    9999   
    100100#if INCLUDE_HTTPD
    101   status = Untar_FromMemory((unsigned char *)(&_binary_tarfile_start),
    102                             &_binary_tarfile_size);
     101  status = Untar_FromMemory((void *)(&_binary_tarfile_start),
     102                            (size_t)&_binary_tarfile_size);
    103103  rtems_initialize_webserver();
    104104#endif
  • ntp/ChangeLog

    r557c93a rba33011  
     12007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * init.c: More warnings removed.
     4
    152007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • ntp/init.c

    r557c93a rba33011  
    4343
    4444#include <stdio.h>
     45#include <stdlib.h>
    4546#include <rtems/rtems_bsdnet.h>
    4647#include <rtems/error.h>
     
    7071        if (sc != RTEMS_SUCCESSFUL)
    7172                printf ("Failed to get time of day: %s\n", rtems_status_text (sc));
    72         printf ("The time is **** %.4d-%.2d-%.2d %.2d:%.2d:%.2d.%.3d (%d) ****\n",
    73                                 now.year,
    74                                 now.month,
    75                                 now.day,
    76                                 now.hour,
    77                                 now.minute,
    78                                 now.second,
    79                                 (now.ticks * 1000) / ticksPerSecond,
    80                                 now.ticks);
     73        printf (
     74          "The time is **** %.4ld-%.2ld-%.2ld %.2ld:%.2ld:%.2ld.%.3ld (%ld) ****\n",
     75          (long) now.year,
     76          (long) now.month,
     77          (long) now.day,
     78          (long) now.hour,
     79          (long) now.minute,
     80          (long) now.second,
     81          (long) ((now.ticks * 1000) / ticksPerSecond),
     82          (long) now.ticks);
    8183        exit (0);
    8284}
  • ttcp/ChangeLog

    r557c93a rba33011  
     12007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * init.c: More warnings removed.
     4
    152007-06-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • ttcp/init.c

    r557c93a rba33011  
    4343
    4444#include <stdio.h>
     45#include <stdlib.h>
    4546#include <rtems/rtems_bsdnet.h>
    4647#include "../networkconfig.h"
     48
     49void test_network (void);
    4750
    4851/*
Note: See TracChangeset for help on using the changeset viewer.