Changeset 7eb9ea6 in rtems for testsuites/support


Ignore:
Timestamp:
Oct 26, 2009, 5:27:58 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
a00d2e5f
Parents:
f2ced5d
Message:

2009-10-26 Ralf Corsépius <ralf.corsepius@…>

  • support/include/tmacros.h: Include <inttypes.h>. Move extern "C". Let put_name use "int" instead "uint32_t" (Arg to putchar must be int).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/support/include/tmacros.h

    rf2ced5d r7eb9ea6  
    1717#define __TMACROS_h
    1818
    19 #ifdef __cplusplus
    20 extern "C" {
    21 #endif
    22 
     19#include <inttypes.h>
    2320#include <bsp.h>    /* includes <rtems.h> */
    2421
     
    3027#include <rtems/error.h>
    3128
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
     32
     33
    3234#define FOREVER 1                  /* infinite loop */
    3335
     
    210212
    211213#define put_name( name, crlf ) \
    212 { uint32_t  c0, c1, c2, c3; \
     214{ int c0, c1, c2, c3; \
    213215  c0 = (name >> 24) & 0xff; \
    214216  c1 = (name >> 16) & 0xff; \
Note: See TracChangeset for help on using the changeset viewer.