stubdom/vtpm: add extern to function declarations
authorOlaf Hering <olaf@aepfle.de>
Wed, 17 Jun 2020 06:08:41 +0000 (07:08 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 18 Jun 2020 16:04:51 +0000 (17:04 +0100)
commitf1d376a825f4878eab0ef9cabe50ec4299968629
tree364ceb5ac4d9f4be74c5beb53ec5e71c3e774f73
parentf0dca895a58710ecd49d813c96d382d5625b74c1
stubdom/vtpm: add extern to function declarations

Code compiled with gcc10 will not link properly due to multiple definition of the same function.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Jason Andryuk <jandryuk@gmail.com>
Acked-by: Samuel Thibault <samuel.thibaut@ens-lyon.org>
Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Paul Durrant <paul@xen.org>
stubdom/Makefile
stubdom/vtpm_extern.patch [new file with mode: 0644]