Changeset bb264e0 in network-demos for rpc_demo/init.c


Ignore:
Timestamp:
Jun 21, 2007, 6:00:33 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:
6a19a29
Parents:
cd62df5
Message:

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

  • init.c: Now compiles reasonably cleanly with CVS head.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • rpc_demo/init.c

    rcd62df5 rbb264e0  
    77#include <rtems/rtems_bsdnet.h>
    88#include <stdio.h>
     9#include <stdlib.h>
    910
    1011#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     
    3233 * Network configuration
    3334 */
    34 #define NETWORK_TASK_PRIORITY   50
    35 static struct rtems_bsdnet_ifconfig netdriver_config = {
    36           RTEMS_BSP_NETWORK_DRIVER_NAME,
    37           RTEMS_BSP_NETWORK_DRIVER_ATTACH,
    38 };
    39 
    40 struct rtems_bsdnet_config rtems_bsdnet_config = {
    41         &netdriver_config,      /* Network interface */
    42         rtems_bsdnet_do_bootp,  /* Use BOOTP to get network configuration */
    43         NETWORK_TASK_PRIORITY,  /* Network task priority */
    44 };
     35#include "../networkconfig.h"
    4536
    4637#ifdef SERVER
     
    7768 * Dummy portmapper routines
    7869 */
    79 pmap_set () { ; }
    80 pmap_unset () { ; }
     70void pmap_set () { ; }
     71void pmap_unset () { ; }
Note: See TracChangeset for help on using the changeset viewer.