mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:52:44 +01:00
cpu/avr8_common: don't implement perror() with stdio_null
This commit is contained in:
parent
3cd06eb6d2
commit
cc80e34cd9
@ -177,9 +177,11 @@ ssize_t write(int fd, const void *src, size_t count)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef MODULE_STDIO_NULL
|
||||||
void perror(const char *s)
|
void perror(const char *s)
|
||||||
{
|
{
|
||||||
printf("%s: %s\n", s, strerror(errno));
|
printf("%s: %s\n", s, strerror(errno));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
Loading…
Reference in New Issue
Block a user