Changeset 533ac112 in rtems


Ignore:
Timestamp:
Jul 18, 2017, 11:02:30 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b682f4cb
Parents:
08586e5
git-author:
Sebastian Huber <sebastian.huber@…> (07/18/17 11:02:30)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/18/17 12:13:47)
Message:

tests: Use more integer print functions

This avoids an unnecessary use of the floating point unit.

Update #3076.

File:
1 edited

Legend:

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

    r08586e5 r533ac112  
    202202  /* do not use iprintf if strict ansi mode */
    203203  #if defined(_NEWLIB_VERSION) && !defined(__STRICT_ANSI__)
     204    #define asprintf asiprintf
     205    #define asnprintf asniprintf
     206    #define dprintf diprintf
     207    #define fprintf fiprintf
     208    #define sprintf siprintf
     209    #define snprintf sniprintf
     210    #define vasprintf vasiprintf
     211    #define vasnprintf vasniprintf
     212    #define vdprintf vdiprintf
     213    #define vfprintf vfiprintf
     214    #define vprintf viprintf
     215    #define vsprintf vsiprintf
     216    #define vsnprintf vsniprintf
     217
    204218    #undef printf
    205219    #define printf(...) \
Note: See TracChangeset for help on using the changeset viewer.