[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v1] stubdom/vtpm: include stdio.h for declaration of printf
- To: Olaf Hering <olaf@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxx
- From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
- Date: Thu, 13 Jun 2019 10:46:45 -0400
- Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Quan Xu <quan.xu0@xxxxxxxxx>
- Delivery-date: Thu, 13 Jun 2019 14:47:02 +0000
- Ironport-phdr: 9a23:xI+A9BYoBqvD2BxcYvfPrHn/LSx+4OfEezUN459isYplN5qZpsy7YB7h7PlgxGXEQZ/co6odzbaP6ua5BD1LvsbJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MQi6oR/MusQWhYZuJaQ8xxjUqXZUZupawn9lK0iOlBjm/Mew+5Bj8yVUu/0/8sNLTLv3caclQ7FGFToqK2866tHluhnFVguP+2ATUn4KnRpSAgjK9w/1U5HsuSbnrOV92S2aPcrrTbAoXDmp8qlmRAP0hCoBKjU063/chNBug61HoRKhvx1/zJDSYIGJL/p1Y6fRccoHSWZdQspdUipMDY2mb4sLEuEPI+BWoYfgrFcKtBezCw2hCObpxzRVhHH5wLc63vw8Hw/Y0gwuH9EAvnrao9r6NqgdTe+7wbLUzTjBdf5axSvx5YbKfx0nvPqCXahwcc3UyUQ3GQ3KlFOQqY37MDORy+8DvXaU5PdhW+K1kWEosQ9xqSWoy8gxhYnGm5wayl/e9Spj24s1Od25R1J7Yd6jCpdQsTqaOJFsTsMtRGFopj83x7sbspC4ZCgH0IkryhHQZvCdc4WE/wjvWPieLDtmnn5pZbSyjAuo/0e60O3zTMy03U5PripCj9bDqGgA1wfW6sibUvt9+Vqh2SqX2wDT9O5EJUc0mLLHK5E72L4wl4cTsV/ZEi/qmET5kK+WdkI+9uiu9+vneanpqoWZN491jgHyKqUumsqhDuQkKgUCQmeW9Oum2LDj4EH1WqtGg/IonqXDrZzWPcEbqbS4Aw9R3IYj8RG/DzK+3dsFknkIMUxKeB2dj4fzIFzOPPD5Auu/g1SrijtrwevGMaf7DpXCKXjDjq/tfaxh5E5E1Aoz0ddf6opTCrEFOv3zVFT8u8bGAR8hPQy0x/joBM9g2YwAQWiPGLOWMLvOsV+U4eIiO+aNa5ETuDrkNvcq+eDugmE9mVIGeamp3IAXaGyjHvh8LESWf3zsjs0GEWcQsQo0VPbqh0GaUT5Pe3ayWLox5igmCI28C4fPXI+sgKGd0CqgEZ1WY3pJClGIEXvya4qEXPIMYjqIIsB9ijwESaShS4g52BG1rgD6zqdnIfTQ+iECqZLj1Nl16PbJmhEv8Tx0E9+Q3H+LT2Fvh28IQz833Kd5oUBnzVeDy6d40LRkEol04/pHGic3L5/awKQuDNT7VCrIc8+HTFvgTtjwRXkhQ9R0z9IQbkJVH9S5kguFzyesRbgPmO+lHpsxp47V2Xn8I45Rxj7pzqAogRFyTsRDOGK8j4Zj5gPTAMjPiEzfmKG0I/dPlBXR/XuOmDLd9HpTVxR9BOCcBiES
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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-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
|