X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Ferrno.h;h=14ac3cb10b00bab70a6916fe15adae6af0b838f3;hb=5e603a4f1af300c53217ba7e92bbf97250c9298b;hp=e24a33b386fefbbcb0bf24f742cccf32b4adc006;hpb=e3f279fb1419b7cb5fd4d0e18e52a892770cf934;p=karo-tx-uboot.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 */