native: Fix trailing whitespace

This commit is contained in:
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) clock_time(void)
{ {
struct timeval tv; struct timeval tv;
gettimeofday(&tv, NULL); gettimeofday(&tv, NULL);
return tv.tv_sec * 1000 + tv.tv_usec / 1000; return tv.tv_sec * 1000 + tv.tv_usec / 1000;
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
@ -56,9 +56,9 @@ unsigned long
clock_seconds(void) clock_seconds(void)
{ {
struct timeval tv; struct timeval tv;
gettimeofday(&tv, NULL); gettimeofday(&tv, NULL);
return tv.tv_sec; return tv.tv_sec;
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -221,9 +221,9 @@ main(int argc, char **argv)
#endif #endif
serial_line_init(); serial_line_init();
autostart_start(autostart_processes); autostart_start(autostart_processes);
/* Make standard output unbuffered. */ /* Make standard output unbuffered. */
setvbuf(stdout, (char *)NULL, _IONBF, 0); 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); lseek(f, addr, SEEK_SET);
write(f, buf, size); write(f, buf, size);
close(f); close(f);
printf("eeprom_write(addr 0x%02x, buf %p, size %d);\n", addr, buf, size); printf("eeprom_write(addr 0x%02x, buf %p, size %d);\n", addr, buf, size);
memcpy(&eeprom[addr], buf, size); memcpy(&eeprom[addr], buf, size);
} }
void void

View File

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