[Xen-devel] [PATCH v1] stubdom/vtpm: include stdio.h for declaration of printf

2018-05-29 Thread Olaf Hering
The function read_vtpmblk uses printf(3), but stdio.h is not included in this file. This results in a warning from gcc-7: vtpmblk.c: In function 'read_vtpmblk': vtpmblk.c:322:7: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("Expected: "); vtpmb

Re: [Xen-devel] [PATCH v1] stubdom/vtpm: include stdio.h for declaration of printf

2019-06-13 Thread Olaf Hering
Please review this patch. Am Tue, 29 May 2018 14:06:48 +0200 schrieb Olaf Hering : > The function read_vtpmblk uses printf(3), but stdio.h is not included > in this file. This results in a warning from gcc-7: > > vtpmblk.c: In function 'read_vtpmblk': > vtpmblk.c:322:7: warning: implicit declara

Re: [Xen-devel] [PATCH v1] stubdom/vtpm: include stdio.h for declaration of printf

2019-06-13 Thread Daniel De Graaf
On 5/29/18 8:06 AM, Olaf Hering wrote: The function read_vtpmblk uses printf(3), but stdio.h is not included in this file. This results in a warning from gcc-7: vtpmblk.c: In function 'read_vtpmblk': vtpmblk.c:322:7: warning: implicit declaration of function 'printf' [-Wimplicit-function-declar