diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/csmith/syscalls.c | 2 | ||||
-rw-r--r-- | scripts/cxxdemo/syscalls.c | 2 | ||||
-rw-r--r-- | scripts/romload/firmware.c | 2 | ||||
-rw-r--r-- | scripts/romload/syscalls.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/scripts/csmith/syscalls.c b/scripts/csmith/syscalls.c index 82e633b..8ea84ca 100644 --- a/scripts/csmith/syscalls.c +++ b/scripts/csmith/syscalls.c @@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st) void *_sbrk(ptrdiff_t incr) { - extern unsigned char _end[]; // Defined by linker + extern unsigned char _end[]; // Defined by linker static unsigned long heap_end; if (heap_end == 0) diff --git a/scripts/cxxdemo/syscalls.c b/scripts/cxxdemo/syscalls.c index 82e633b..8ea84ca 100644 --- a/scripts/cxxdemo/syscalls.c +++ b/scripts/cxxdemo/syscalls.c @@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st) void *_sbrk(ptrdiff_t incr) { - extern unsigned char _end[]; // Defined by linker + extern unsigned char _end[]; // Defined by linker static unsigned long heap_end; if (heap_end == 0) diff --git a/scripts/romload/firmware.c b/scripts/romload/firmware.c index 72bb9a1..4bc9ed8 100644 --- a/scripts/romload/firmware.c +++ b/scripts/romload/firmware.c @@ -4,7 +4,7 @@ int x1 = 1000; int x2 = 2000; -void main() +void main() { int z; x1 = 50; diff --git a/scripts/romload/syscalls.c b/scripts/romload/syscalls.c index 82e633b..8ea84ca 100644 --- a/scripts/romload/syscalls.c +++ b/scripts/romload/syscalls.c @@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st) void *_sbrk(ptrdiff_t incr) { - extern unsigned char _end[]; // Defined by linker + extern unsigned char _end[]; // Defined by linker static unsigned long heap_end; if (heap_end == 0) |