Peter Marheine has uploaded this change for review.
dos: mark myusec_delay static
If not static, this causes a compile-time error because it doesn't have
a prototype.
TEST=meson setup --cross-file meson_cross/i586_djgpp_dos.txt; ninja
Change-Id: I1a43d89b9aabea7dab302350b1abf6bf613a3449
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
---
M udelay_dos.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/13/82213/1
diff --git a/udelay_dos.c b/udelay_dos.c
index 4a29f73..61493fc 100644
--- a/udelay_dos.c
+++ b/udelay_dos.c
@@ -28,7 +28,7 @@
/* loops per microsecond */
static unsigned long micro = 1;
-__attribute__ ((noinline)) void myusec_delay(unsigned int usecs)
+__attribute__ ((noinline)) static void myusec_delay(unsigned int usecs)
{
unsigned long i;
for (i = 0; i < usecs * micro; i++) {
To view, visit change 82213. To unsubscribe, or for help writing mail filters, visit settings.