On 2022/11/08 11:33, Stefan Hagen wrote:
> Hello,
>
> I'm playing with sysutils/cpuid and noticed the easy to fix warning:
>
> cpuid.c:35:37: warning: implicitly declaring library function 'isprint' with type 'int (int)' [-Wimplicit-function-declaration]
> c = value & 0xff; putchar(isprint(c) ? c : '?');
> ^
> cpuid.c:35:37: note: include the header <ctype.h> or explicitly provide a declaration for 'isprint'
>
> OK?
OK.
btw you might be interested in this old thing from mystuff too, it has
handy decodes.
No comments:
Post a Comment