Going to clean this piece of code a little
Signed-off-by: Michel Pollet <buserror@gmail.com>
2 files changed:
}
-int elf_read_firmware(const char * file, elf_firmware_t * firmware)
+int
+elf_read_firmware(
+ const char * file,
+ elf_firmware_t * firmware)
{
Elf32_Ehdr elf_header; /* ELF header */
Elf *elf = NULL; /* Our Elf pointer for libelf */
#endif
} elf_firmware_t ;
-int elf_read_firmware(const char * file, elf_firmware_t * firmware);
-
-void avr_load_firmware(avr_t * avr, elf_firmware_t * firmware);
+int
+elf_read_firmware(
+ const char * file,
+ elf_firmware_t * firmware);
+
+void
+avr_load_firmware(
+ avr_t * avr,
+ elf_firmware_t * firmware);
#ifdef __cplusplus
};