Changeset c47e1a8 in mainline for boot/generic/src/printf.c


Ignore:
Timestamp:
2010-05-21T07:50:04Z (16 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d51ee2b
Parents:
cf8cc36 (diff), 15b592b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes (rev. 451)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • boot/generic/src/printf.c

    rcf8cc36 rc47e1a8  
    2727 */
    2828
    29 /** @addtogroup libcia64       
    30  * @{
    31  */
    3229/** @file
    3330 */
    3431
    35 #ifndef LIBC_ia64_LIMITS_H_
    36 #define LIBC_ia64_LIMITS_H_
     32#include <printf.h>
     33#include <stdarg.h>
    3734
    38 # define LONG_MIN MIN_INT64
    39 # define LONG_MAX MAX_INT64
    40 # define ULONG_MIN MIN_UINT64
    41 # define ULONG_MAX MAX_UINT64
    42 
    43 #endif
     35int printf(const char *fmt, ...)
     36{
     37        int ret;
     38        va_list args;
     39       
     40        va_start(args, fmt);
     41       
     42        ret = vprintf(fmt, args);
     43       
     44        va_end(args);
     45       
     46        return ret;
     47}
    4448
    4549/** @}
Note: See TracChangeset for help on using the changeset viewer.