From 48c2532cf0ac165cb15277dedb995ed44e078382 Mon Sep 17 00:00:00 2001 From: guenther Date: Thu, 19 Jan 2017 23:47:04 +0000 Subject: MD_START is now always ___start, so expand and eliminate it ok phessler@ deraadt@ --- lib/csu/crt0.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lib/csu/crt0.c') 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 -- cgit v1.2.3-59-g8ed1b