Skip to content

Commit f840d80

Browse files
committed
cpu/avr8_common: don't implement perror() with stdio_null
1 parent 082a37b commit f840d80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpu/avr8_common/avr_libc_extra/posix_unistd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,11 @@ ssize_t write(int fd, const void *src, size_t count)
177177
#endif
178178
}
179179

180+
#ifndef MODULE_STDIO_NULL
180181
void perror(const char *s)
181182
{
182183
printf("%s: %s\n", s, strerror(errno));
183184
}
185+
#endif
184186

185187
/** @} */

0 commit comments

Comments
 (0)