Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1192 → Rev 1197

/uspace/trunk/libc/generic/io/print.c
68,11 → 68,9
* @param flags
* @return number of printed characters or EOF
*/
static int print_char(char c, int width, uint64_t flags)
{
int counter = 0;
char space = ' ';
if (!(flags & __PRINTF_FLAG_LEFTALIGNED)) {
while (--width > 0) { /* one space is consumed by character itself hence predecrement */
256,7 → 254,7
} else {
putchar('b');
}
written == 2;
written += 2;
break;
case 8:
putchar('o');
/uspace/trunk/libc/generic/string.c
49,7 → 49,7
 
size_t strlen(const char *str)
{
int counter = 0;
size_t counter = 0;
 
while (str[counter] != 0) {
counter++;