Skip to content

Commit

Permalink
native: Fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuman committed Mar 19, 2013
1 parent 22bcb07 commit 3d33248
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions platform/native/clock.c
Expand Up @@ -46,19 +46,19 @@ clock_time_t
clock_time(void)
{
struct timeval tv;

gettimeofday(&tv, NULL);

return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}
/*---------------------------------------------------------------------------*/
unsigned long
clock_seconds(void)
{
struct timeval tv;

gettimeofday(&tv, NULL);

return tv.tv_sec;
}
/*---------------------------------------------------------------------------*/
Expand Down
4 changes: 2 additions & 2 deletions platform/native/contiki-main.c
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions platform/native/dev/eeprom.c
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions platform/native/dev/xmem.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3d33248

Please sign in to comment.