Changeset 3604a25 in rtems-libbsd for freebsd-userspace/commands


Ignore:
Timestamp:
Sep 5, 2012, 6:15:40 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
Children:
dafaba3
Parents:
ab9e6de
Message:

ping.c: Add include of port_before.h and rtems shell glue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/commands/sbin/ping/ping.c

    rab9e6de r3604a25  
    11#ifdef __rtems__
     2#include "port_before.h"
    23#define __need_getopt_newlib
    34#include <getopt.h>
     
    17501751        exit(EX_USAGE);
    17511752}
     1753
     1754#ifdef __rtems__
     1755  #include <rtems/shell.h>
     1756
     1757  rtems_shell_cmd_t rtems_shell_PING_Command = {
     1758    "ping",                        /* name */
     1759    "ping [args]",                 /* usage */
     1760    "net",                         /* topic */
     1761    main_ping,                     /* command */
     1762    NULL,                          /* alias */
     1763    NULL                           /* next */
     1764  };
     1765#endif
Note: See TracChangeset for help on using the changeset viewer.