Changeset 6b4a22e3 in rtems


Ignore:
Timestamp:
Nov 19, 2014, 9:46:16 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
957c075
Parents:
8dbc612
git-author:
Sebastian Huber <sebastian.huber@…> (11/19/14 09:46:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 09:30:26)
Message:

shell: Include <rtems/shell.h> early

This avoids a conflict with the global variable defines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/main_ping.c

    r8dbc612 r6b4a22e3  
    101101#include "sysexits.h"
    102102#include <sys/select.h>
     103#ifdef __rtems__
     104#include <rtems/shell.h>
     105#endif /* __rtems__ */
    103106
    104107#define INADDR_LEN      ((int)sizeof(in_addr_t))
     
    19711974
    19721975#if __rtems__
    1973   #include <rtems/shell.h>
    1974 
    19751976  rtems_shell_cmd_t rtems_shell_PING_Command = {
    19761977    "ping",                        /* name */
Note: See TracChangeset for help on using the changeset viewer.