summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/pe_map_raw_image.c2
-rw-r--r--src/main/perk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/pe_map_raw_image.c b/src/main/pe_map_raw_image.c
index 8ae95d9..dc37e35 100644
--- a/src/main/pe_map_raw_image.c
+++ b/src/main/pe_map_raw_image.c
@@ -37,4 +37,4 @@ int pe_map_raw_image (int fd, const char * fname, struct pe_raw_image * map)
int pe_unmap_raw_image (struct pe_raw_image * map)
{
return munmap(map->addr, map->size);
-};
+}
diff --git a/src/main/perk.c b/src/main/perk.c
index 5fe8f17..d66b9ae 100644
--- a/src/main/perk.c
+++ b/src/main/perk.c
@@ -112,5 +112,5 @@ static int perk_main(int argc, char * argv[], char * envp[])
}
#ifdef PERK_APP
-extern __typeof(perk_main) main __attribute__((alias("perk_main")));
+__typeof(perk_main) main __attribute__((alias("perk_main")));
#endif