1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu
René Kijewski d19e885fb9 arm_common: no needless _gettimeofday() warning
The `arm_common` syscalls implement `_gettimeofday()` for the benefit of
newlib. The syscall call only work if the `rtc` module or the `vtimer`
modules is transcluded. If neither module is used, a warning is printed
by means of `#warning`.

This warning is useless if the user does not invoke `gettimeofday()`.
Further this warning prevents the use of `-Werror`.

This PR puts the function in its own file, that will only be linked if
it was used. And if the function was used, then a link time error occur
if neither `rtc` nor `vtimer` was transcluded.
2014-05-05 14:45:11 +02:00
..
arm_common arm_common: no needless _gettimeofday() warning 2014-05-05 14:45:11 +02:00
cc430 msp430: Fix variable usage in cc430-rtc.c 2014-04-29 00:04:38 +02:00
lpc1768 Make: exterminate 'clean' buildtarget 2014-04-09 23:07:52 +02:00
lpc2387 ARM: fix several warnings 2014-04-30 20:39:35 +02:00
lpc_common ARM: fix several warnings 2014-04-30 20:39:35 +02:00
mc1322x Merge pull request #1031 from LudwigOrtmann/issue_676 2014-04-24 10:19:22 +02:00
msp430-common add pthread condition variable implementation 2014-04-29 18:39:03 +02:00
msp430x16x Make: exterminate 'clean' buildtarget 2014-04-09 23:07:52 +02:00
native Merge pull request #1022 from LudwigOrtmann/issue_505 2014-04-26 15:51:54 +02:00
doc.txt remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00