summaryrefslogtreecommitdiff
path: root/lib/csu/m88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-05-08 16:06:46 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-05-08 16:06:46 +0000
commita9c01134e59a6636f5256b4d8fceaae2e499cacc (patch)
treef4c68cb8bbb606c11f45ac8ed79d8736f7f52888 /lib/csu/m88k
parent0d50c2453b804ffda857be8754ec709072f80596 (diff)
Don't declare ___start static, for gcc4 would optimize it out.
Diffstat (limited to 'lib/csu/m88k')
-rw-r--r--lib/csu/m88k/crt0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/m88k/crt0.c b/lib/csu/m88k/crt0.c
index 58c42ed4fd1..d971a1c521e 100644
--- a/lib/csu/m88k/crt0.c
+++ b/lib/csu/m88k/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.10 2013/01/05 11:20:55 miod Exp $ */
+/* $OpenBSD: crt0.c,v 1.11 2013/05/08 16:06:45 miod Exp $ */
/*
* Mach Operating System
@@ -69,7 +69,7 @@ __asm__ (
/* cleanup is %r5, zeroed in setregs() at the moment */
);
-static void
+void
___start(int argc, char **argv, char **envp, void (*cleanup)(void))
{
char *s;