source: rtems-tools/tools/4.12/gdb/gdb-sim-cgen-inline.diff @ ab922fe

4.105
Last change on this file since ab922fe was ab922fe, checked in by Chris Johns <chrisj@…>, on 11/12/15 at 06:48:45

Add tools patches for RTEMS 4.12.

  • Property mode set to 100644
File size: 706 bytes
  • sim/common/cgen-ops.h

    old new  
    2626
    2727#if defined (__GNUC__) && ! defined (SEMOPS_DEFINE_INLINE)
    2828#define SEMOPS_DEFINE_INLINE
    29 #define SEMOPS_INLINE extern inline
     29#define SEMOPS_INLINE static inline
    3030#else
    3131#define SEMOPS_INLINE
    3232#endif
  • sim/common/cgen-mem.h

    old new  
    2323#ifdef MEMOPS_DEFINE_INLINE
    2424#define MEMOPS_INLINE
    2525#else
    26 #define MEMOPS_INLINE extern inline
     26#define MEMOPS_INLINE static inline
    2727#endif
    2828
    2929/* Integer memory read support.
Note: See TracBrowser for help on using the repository browser.