summaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2008-06-25 02:45:24 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2008-06-25 02:45:24 +0000
commit007c9a626e6d882900610d27ff3470d69413ab85 (patch)
tree3f4eef1f094076c7e7a2b50b47dcbf8284ec6406 /lib/csu
parent8741fa18d525f1a186b70af4a3795474ea157016 (diff)
Make pic compatiable. From and okay drahn@ no objection miod@
"Slackers!" deraadt@
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/sparc64/crt0.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/csu/sparc64/crt0.c b/lib/csu/sparc64/crt0.c
index ac0716f04f8..ee667dc8835 100644
--- a/lib/csu/sparc64/crt0.c
+++ b/lib/csu/sparc64/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.6 2004/01/04 03:40:19 pvalchev Exp $ */
+/* $OpenBSD: crt0.c,v 1.7 2008/06/25 02:45:23 kurt Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -58,10 +58,9 @@ __asm__(".text\n"
" ba,pt %icc, ___start\n"
" nop");
+static void ___start(char **, void (*)(void), const void *);
-void ___start(char **, void (*)(void), const void *);
-
-void
+static void
___start(char **sp, void (*cleanup)(void), const void *obj)
{
long argc;