diff options
author | 2017-01-19 23:47:04 +0000 | |
---|---|---|
committer | 2017-01-19 23:47:04 +0000 | |
commit | 48c2532cf0ac165cb15277dedb995ed44e078382 (patch) | |
tree | 02d6d307aedf2ce0e28adb209502a725307dabc4 /lib/csu/crt0.c | |
parent | Simplify: bundle stripcom(). (diff) | |
download | wireguard-openbsd-48c2532cf0ac165cb15277dedb995ed44e078382.tar.xz wireguard-openbsd-48c2532cf0ac165cb15277dedb995ed44e078382.zip |
MD_START is now always ___start, so expand and eliminate it
ok phessler@ deraadt@
Diffstat (limited to 'lib/csu/crt0.c')
-rw-r--r-- | lib/csu/crt0.c | 7 |
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 |