summaryrefslogtreecommitdiffstats
path: root/lib/csu/crt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/crt0.c')
-rw-r--r--lib/csu/crt0.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/csu/crt0.c b/lib/csu/crt0.c
index e6e68da3b0d..3f65c673baa 100644
--- a/lib/csu/crt0.c
+++ b/lib/csu/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.8 2016/09/26 15:43:26 kettenis Exp $ */
+/* $OpenBSD: crt0.c,v 1.9 2017/01/19 23:47:04 guenther Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -44,10 +44,7 @@
#define MD_START_ARGS \
int argc, char **argv, char **envp, void (*cleanup)(void)
#endif
-#ifndef MD_START
-#define MD_START ___start
static void ___start(MD_START_ARGS) __used;
-#endif
#ifndef MD_EPROL_LABEL
#define MD_EPROL_LABEL __asm(" .text\n_eprol:")
#endif
@@ -70,7 +67,7 @@ MD_CRT0_START;
#endif
void
-MD_START(MD_START_ARGS)
+___start(MD_START_ARGS)
{
char ***environp;
#ifdef MD_START_SETUP