native: Fix trailing whitespace

ico
François Revol 2013-03-19 19:54:09 +01:00
parent 22bcb07c61
commit 3d33248eff
4 changed files with 10 additions and 10 deletions

View File

@ -46,9 +46,9 @@ clock_time_t
clock_time(void)
{
struct timeval tv;
gettimeofday(&tv, NULL);
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}
/*---------------------------------------------------------------------------*/
@ -56,9 +56,9 @@ unsigned long
clock_seconds(void)
{
struct timeval tv;
gettimeofday(&tv, NULL);
return tv.tv_sec;
}
/*---------------------------------------------------------------------------*/

View File

@ -221,9 +221,9 @@ main(int argc, char **argv)
#endif
serial_line_init();
autostart_start(autostart_processes);
/* Make standard output unbuffered. */
setvbuf(stdout, (char *)NULL, _IONBF, 0);

View File

@ -53,9 +53,9 @@ eeprom_write(eeprom_addr_t addr, unsigned char *buf, int size)
lseek(f, addr, SEEK_SET);
write(f, buf, size);
close(f);
printf("eeprom_write(addr 0x%02x, buf %p, size %d);\n", addr, buf, size);
memcpy(&eeprom[addr], buf, size);
}
void

View File

@ -56,9 +56,9 @@ xmem_pwrite(const void *buf, int size, unsigned long offset)
lseek(f, addr, SEEK_SET);
write(f, buf, size);
close(f);*/
/* printf("xmem_write(offset 0x%02x, buf %p, size %l);\n", offset, buf, size);*/
memcpy(&xmem[offset], buf, size);
return size;
}