[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH RESEND v1 1/8] stubdom/vtpm: include stdio.h for declaration of printf
- To: Olaf Hering <olaf@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
- Date: Fri, 27 Sep 2019 17:27:32 -0400
- Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Quan Xu <quan.xu0@xxxxxxxxx>
- Delivery-date: Fri, 27 Sep 2019 21:27:58 +0000
- Ironport-phdr: 9a23:P2AZXBdsgM5/oGe9Q/jk6V6ClGMj4u6mDksu8pMizoh2WeGdxc26ZxON2/xhgRfzUJnB7Loc0qyK6vumAjJLuMve+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAi4oAnLuMQbgIRuJrsxxxbLv3BFZ/lYyWR0KFyJgh3y/N2w/Jlt8yRRv/Iu6ctNWrjkcqo7ULJVEi0oP3g668P3uxbDSxCP5mYHXWUNjhVIGQnF4wrkUZr3ryD3q/By2CiePc3xULA0RTGv5LplRRP0lCsKMSMy/XrJgcJskq1UvBOhpwR+w4HKZoGVKOF+db7Zcd8DWGZNQtpdWylHD4yydYsPC/cKM/heoYfzulACqQKyCAeoCe/qzDJDm3340rAg0+k5DA/IwgIgEdIJsHrXotv6OqgdXuKpw6fH1jjDc/Fb1C3h5ITUfB0so/eBVq9wf8rLzkkvEhvIgFuKpozjPjOayOANuHWV4eV+SOmhinQnpBtrrTih28whjZTGho0IxV/a+iV52pw6KMakSE97fdGkEJxQuzucN4ttWMwuWW5ouCEkyrAfv5OwYSsEyIw/yhLCZPGKfJKE7xL+WOqLPzt1i2xpdKiiixu07EOu0PfzVtOu31ZPtidFl97MuW0T2BHL8ciHT+d9/l+m2TaSywDf8uFELl4wlarcM5Mh3qQ/loASsUTeBS/6gln2ja+KeUUk/eik8eLnban9ppCALYN0jwD+MqA2lsy+B+Q3LBQOUnCG9emz27Dv5030TKhQgvEonaTVrorWKdkDqq68GQBV04Ij6xilDzeh1dQVhWQILF1Ydx2ZgIjpIUvBLevkDfa/n1uskDBry+rAPr36GJrBNHfDkLD/fbpl8U5T1BIzzcxD55JTErwBJ/bzVVX/tNHDFBA2LRS0w+jjCNpjzI8RRHyACLeDMKzOqV+I+v4vI+6UaY4apjn9LeEp6OPwgn8nh1AdebKk3Z8WaHCjAvRmOF+VYHXyjdcHCWcKpA0+TO70h1KeTT5ffXGyX7gz5jsjEoKpEZ/DRpyxgLyGxCq7B4BWaXpAClyWHnboapmIVuwDaCKXOMBhkzgEWaK9RI8m0BGkrBX6xKZ/LurI5i0Ysoru1MNv6O3WiBE96zh0A96B02GNTmF7hXkHRyIy3KBjukFy1FGD0bNhj/xcFd1T4PVJXh09NZ7GwOwpQ+z1DyXFd9nBaFu8Q9OpSWU2Sts/69YDe0h5FpOug0aHlzqnBfoZmqKGALQw87nAxD7hKsBl0XHE2aI9yV48TZhhL2qj04J28QneA8blng22ja+je+xI0CHB+WiZxEKSrUpYV0h2SqyDUncBMBiF5e/l71/PGuf9QY8sNRFMnIvbcfpH
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 9/24/19 10:03 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-declaration]
printf("Expected: ");
vtpmblk.c:322:7: warning: incompatible implicit declaration of built-in
function 'printf'
vtpmblk.c:322:7: note: include '<stdio.h>' or provide a declaration of 'printf'
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Acked-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|