summaryrefslogtreecommitdiff
path: root/src/main/perk.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-05-02 20:53:05 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:18 -0500
commitb5f7f5d364d1546fc1c9eef76f17906aeafd0c13 (patch)
tree3214b7d6420cdf4dd7777250de1c20af19df4aa8 /src/main/perk.c
parent057a3a1f027ae998ba200636b40ea98589ac2f86 (diff)
downloadperk-b5f7f5d364d1546fc1c9eef76f17906aeafd0c13.tar.bz2
perk-b5f7f5d364d1546fc1c9eef76f17906aeafd0c13.tar.xz
fix big-endian code path; make the code more -Wall-resistant.
Diffstat (limited to 'src/main/perk.c')
-rw-r--r--src/main/perk.c2
1 files changed, 1 insertions, 1 deletions
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