summaryrefslogtreecommitdiff
path: root/lib/csu/mips64
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-08-23 18:58:38 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-08-23 18:58:38 +0000
commit8c4d15d7a38c8711fa2a81e0d2c24dfa76c19cc7 (patch)
tree4f435f744450f2281359fb90c420cf20bce9b149 /lib/csu/mips64
parent31add8cf5574fefe8ec56e2b2878ce1f1eaa2627 (diff)
kill useless __main() symbol which clashes w/ certain evil software in
the ports tree; ok pefo
Diffstat (limited to 'lib/csu/mips64')
-rw-r--r--lib/csu/mips64/crt0.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/csu/mips64/crt0.c b/lib/csu/mips64/crt0.c
index 4d30111b63d..e9aff93e4e2 100644
--- a/lib/csu/mips64/crt0.c
+++ b/lib/csu/mips64/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.1 2004/08/06 22:21:16 pefo Exp $ */
+/* $OpenBSD: crt0.c,v 1.2 2004/08/23 18:58:37 pvalchev Exp $ */
/* $NetBSD: crt0.c,v 1.7 1995/06/03 13:16:15 pk Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: crt0.c,v 1.1 2004/08/06 22:21:16 pefo Exp $";
+static char rcsid[] = "$OpenBSD: crt0.c,v 1.2 2004/08/23 18:58:37 pvalchev Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -114,8 +114,6 @@ asm ("_callmain:"); /* Defined for the benefit of debuggers */
exit(main(kfp->kargc, argv, environ));
}
-__main() {}
-
#ifdef MCRT0
asm (" .text");
asm ("_eprol:");