Changeset 25a76ab8 in mainline for boot/generic/include/printf.h


Ignore:
Timestamp:
2010-05-08T07:53:23Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
051bc69a
Parents:
6c39a907 (diff), 1317380 (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.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • boot/generic/include/printf.h

    r6c39a907 r25a76ab8  
    11/*
    2  * Copyright (c) 2006 Martin Decky
     2 * Copyright (c) 2001-2004 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup generic
    30  * @{
    31  */
    3229/** @file
    3330 */
    3431
    35 #ifndef BOOT_PRINTF_H_
    36 #define BOOT_PRINTF_H_
     32#ifndef BOOT_PRINT_H_
     33#define BOOT_PRINT_H_
    3734
    38 #define INT8    1
    39 #define INT16   2
    40 #define INT32   4
    41 #define INT64   8
     35#include <typedefs.h>
     36#include <stdarg.h>
    4237
    43 extern void puts(const char *str);
    44 extern void printf(const char *fmt, ...);
     38#define EOF  (-1)
    4539
    46 extern void write(const char *str, const int len);
     40extern int puts(const char *);
     41extern int printf(const char *, ...);
     42extern int vprintf(const char *, va_list);
    4743
    4844#endif
Note: See TracChangeset for help on using the changeset viewer.