Ignore:
Timestamp:
2018-09-13T12:05:53Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc74cb5
Parents:
b2aaaa0
git-author:
Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
git-committer:
Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
Message:

Fix vertical spacing with new Ccheck revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/printf_core.c

    rb2aaaa0 r09ab0a9a  
    4949#include <wchar.h>
    5050
    51 
    5251/** show prefixes 0x or 0 */
    5352#define __PRINTF_FLAG_PREFIX       0x00000001
     
    7978/** don't print trailing zeros in the fractional part */
    8079#define __PRINTF_FLAG_NOFRACZEROS  0x00000200
    81 
    8280
    8381/**
     
    125123static const char invalch = U_SPECIAL;
    126124
    127 
    128 
    129125/** Unformatted double number string representation. */
    130126typedef struct {
     
    139135} double_str_t;
    140136
    141 
    142 
    143137/** Returns the sign character or 0 if no sign should be printed. */
    144138static int get_sign_char(bool negative, uint32_t flags)
     
    166160        return count;
    167161}
    168 
    169162
    170163/** Print one or more characters without adding newline.
     
    634627        counter += ret;
    635628
    636 
    637629        /* Trailing padding. */
    638630        if (flags & __PRINTF_FLAG_LEFTALIGNED) {
     
    698690}
    699691
    700 
    701692/** Format and print the double string repressentation according
    702693 *  to the %f specifier.
     
    825816        return counter;
    826817}
    827 
    828818
    829819/** Convert, format and print a double according to the %f specifier.
     
    934924}
    935925
    936 
    937926/** Format and print the double string repressentation according
    938927 *  to the %e specifier.
     
    10381027        return counter;
    10391028}
    1040 
    10411029
    10421030/** Convert, format and print a double according to the %e specifier.
     
    11131101}
    11141102
    1115 
    11161103/** Convert, format and print a double according to the %g specifier.
    11171104 *
     
    11931180        }
    11941181}
    1195 
    11961182
    11971183/** Convert, format and print a double according to the specifier.
Note: See TracChangeset for help on using the changeset viewer.