aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/include/syslinux/memscan.h4
-rw-r--r--com32/lib/syslinux/memscan.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/com32/include/syslinux/memscan.h b/com32/include/syslinux/memscan.h
index 098a2240..98ed806f 100644
--- a/com32/include/syslinux/memscan.h
+++ b/com32/include/syslinux/memscan.h
@@ -31,7 +31,7 @@
#include <stdbool.h>
#include <syslinux/movebits.h> /* addr_t */
-typedef int (*scan_memory_callback)(void *, addr_t, addr_t, bool);
-int syslinux_scan_memory(scan_memory_callback callback, void *data);
+typedef int (*scan_memory_callback_t)(void *, addr_t, addr_t, bool);
+int syslinux_scan_memory(scan_memory_callback_t callback, void *data);
#endif /* _SYSLINUX_MEMSCAN_H */
diff --git a/com32/lib/syslinux/memscan.c b/com32/lib/syslinux/memscan.c
index a5661e31..01ac6948 100644
--- a/com32/lib/syslinux/memscan.c
+++ b/com32/lib/syslinux/memscan.c
@@ -47,7 +47,7 @@ struct e820_entry {
uint32_t extattr;
};
-int syslinux_scan_memory(scan_memory_callback callback, void *data)
+int syslinux_scan_memory(scan_memory_callback_t callback, void *data)
{
static com32sys_t ireg, zireg;
com32sys_t oreg;