diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2010-02-28 19:28:54 -0800 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-28 19:28:54 -0800 |
| commit | 48a401b4ea72752561a887edc12a1f3df336d7a8 (patch) | |
| tree | b1366ad1f0738321ddfd1f7072e3028f4daa936d /core/include | |
| parent | 33cc00e1bd268148efdd994b1fb961645ab95cd7 (diff) | |
| download | syslinux-48a401b4ea72752561a887edc12a1f3df336d7a8.tar.gz | |
core: don't use "const volatile" in __jiffies definition
It looks like some versions of gcc might have issues with "const
volatile".
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/include')
| -rw-r--r-- | core/include/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/core.h b/core/include/core.h index ba0264b2..50e2be4c 100644 --- a/core/include/core.h +++ b/core/include/core.h @@ -59,7 +59,7 @@ __noreturn _kaboom(void); /* * Basic timer function... */ -extern const volatile uint32_t __jiffies; +extern volatile uint32_t __jiffies; static inline uint32_t jiffies(void) { return __jiffies; |
