From 000e2a0a0a8693e15b03bdaacac6693513e9c65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Wed, 28 Nov 2012 04:18:13 +0000 Subject: [PATCH] removed stupid "volatile void" declaration --- BaS_gcc/Makefile | 2 +- BaS_gcc/sources/sysinit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BaS_gcc/Makefile b/BaS_gcc/Makefile index 676e5c9..56ec251 100644 --- a/BaS_gcc/Makefile +++ b/BaS_gcc/Makefile @@ -10,7 +10,7 @@ # can be either "Y" or "N" (without quotes). "Y" for using the m68k-elf-, "N" for using the m68k-atari-mint # toolchain -COMPILE_ELF=Y +COMPILE_ELF=N ifeq (Y,$(COMPILE_ELF)) TCPREFIX=m68k-elf- diff --git a/BaS_gcc/sources/sysinit.c b/BaS_gcc/sources/sysinit.c index 32b215b..5574d69 100644 --- a/BaS_gcc/sources/sysinit.c +++ b/BaS_gcc/sources/sysinit.c @@ -26,7 +26,7 @@ extern volatile long _VRAM; /* start address of video ram from linker script */ * wait for the specified number of us on slice timer 0. Replaces the original routines that had * the number of useconds to wait for hardcoded in their name. */ -inline volatile void wait(uint32_t us) +inline void wait(uint32_t us) { uint32_t target = MCF_SLT_SCNT(0) - (us * 132);