mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
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> Reviewed-on: https://review.coreboot.org/c/flashrom/+/82213 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
@ -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++) {
|
||||
|
Reference in New Issue
Block a user