From 3bc1ab55b82b891d8c16bf3eabeae6adf5118d9e Mon Sep 17 00:00:00 2001 From: Rahix <rahix@rahix.de> Date: Wed, 31 Jul 2019 19:10:45 +0200 Subject: [PATCH] fix(l0der): Fix whitespace issues Signed-off-by: Rahix <rahix@rahix.de> --- epicardium/l0der/l0der.c | 4 ++-- l0dables/blinky/main.c | 2 +- l0dables/lib/l0dable.ld | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/epicardium/l0der/l0der.c b/epicardium/l0der/l0der.c index 808dc01f..bf02ad2d 100644 --- a/epicardium/l0der/l0der.c +++ b/epicardium/l0der/l0der.c @@ -13,7 +13,7 @@ * * To implement it, we parse an ELF file somewhat defensively, trying to * not DoS ourselves by overallocating RAM (no heap allocations, no recursion). - * + * * Currently we support only relocatable, PIE binaries. Adding support for * static ELFs would be trivial, however we want to keep the possibility to * shuffle around memory areas in future versions of card10 (possibly giving @@ -104,7 +104,7 @@ static int _read_elf_header(int fd, Elf32_Ehdr *hdr) * :param void *data: buffer into which to read * :param size_t count: amount of bytes to read * :returns: ``0`` on success or a negative value on error. Possible errors: - * + * * - ``-EIO``: Could not read from FAT - address out of bounds of not enough bytes available. */ static int _seek_and_read(int fd, uint32_t address, void *data, size_t count) diff --git a/l0dables/blinky/main.c b/l0dables/blinky/main.c index 731b5ce1..14237da9 100644 --- a/l0dables/blinky/main.c +++ b/l0dables/blinky/main.c @@ -44,7 +44,7 @@ void fade() } } -/* +/* * main() is called when l0dable is loaded and executed. */ int main(void) diff --git a/l0dables/lib/l0dable.ld b/l0dables/lib/l0dable.ld index 25f1a818..31fbb773 100644 --- a/l0dables/lib/l0dable.ld +++ b/l0dables/lib/l0dable.ld @@ -35,7 +35,7 @@ SECTIONS { { *(.text*) *(.rodata*) - + KEEP(*(.init)) KEEP(*(.fini)) } :text -- GitLab