FreeCalypso > hg > freecalypso-tools
changeset 107:4be951811791
target-utils/libcommon: extern u_long strtoul(); added where needed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 01 Nov 2016 01:10:33 +0000 |
parents | 18b3183611fb |
children | 2b041d57de1f |
files | target-utils/libcommon/abbcmd.c target-utils/libcommon/buzzer.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/target-utils/libcommon/abbcmd.c Tue Nov 01 01:00:43 2016 +0000 +++ b/target-utils/libcommon/abbcmd.c Tue Nov 01 01:10:33 2016 +0000 @@ -7,6 +7,8 @@ #include "types.h" #include "abbdefs.h" +extern u_long strtoul(); + extern u16 abb_reg_read(); extern void abb_reg_write();
--- a/target-utils/libcommon/buzzer.c Tue Nov 01 01:00:43 2016 +0000 +++ b/target-utils/libcommon/buzzer.c Tue Nov 01 01:10:33 2016 +0000 @@ -7,6 +7,8 @@ #include <sys/types.h> #include "types.h" +extern u_long strtoul(); + #define ARMIO_LOAD_TIM (*(volatile u16 *) 0xFFFE4808) #define BUZZ_LIGHT_REG (*(volatile u16 *) 0xFFFE480E) #define BUZZ_LEVEL_REG (*(volatile u16 *) 0xFFFE4812)