X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=include%2Ferrno.h;h=14ac3cb10b00bab70a6916fe15adae6af0b838f3;hb=af6da69f47314e0e8efa3711ffadbfda8d2334aa;hp=e24a33b386fefbbcb0bf24f742cccf32b4adc006;hpb=65cd3fa81ff48cd44bcb3d9baf646dade15b9131;p=people%2Fms%2Fu-boot.git diff --git a/include/errno.h b/include/errno.h index e24a33b386..14ac3cb10b 100644 --- a/include/errno.h +++ b/include/errno.h @@ -6,4 +6,7 @@ extern int errno; #define __set_errno(val) do { errno = val; } while (0) +#ifdef CONFIG_ERRNO_STR +const char *errno_str(int errno); +#endif #endif /* _ERRNO_H */