Apply clang-format code style to all source files

This commit is contained in:
icex2
2019-10-20 00:50:40 +02:00
parent c600e1a423
commit c3bc8782f4
401 changed files with 13844 additions and 11361 deletions
+8 -3
View File
@@ -1,8 +1,8 @@
#ifndef UTIL_MEM_H
#define UTIL_MEM_H
#include <stddef.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
void *xcalloc(size_t nbytes);
@@ -24,7 +24,12 @@ bool mem_nop(size_t mem_offset, size_t length);
* @return If found, pointer to memory where the signiture was found (first
* occurance) with the signiture offset added, NULL otherwise
*/
void* mem_find_signiture(const uint8_t* sig, uint32_t sig_len,
int32_t sig_offset, void* start_addr, void* end_addr, int32_t alignment);
void *mem_find_signiture(
const uint8_t *sig,
uint32_t sig_len,
int32_t sig_offset,
void *start_addr,
void *end_addr,
int32_t alignment);
#endif