summaryrefslogtreecommitdiff
path: root/lib/csu/crtend.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/crtend.c')
-rw-r--r--lib/csu/crtend.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/csu/crtend.c b/lib/csu/crtend.c
index 484ca3cc5d3..7c751465c7d 100644
--- a/lib/csu/crtend.c
+++ b/lib/csu/crtend.c
@@ -1,12 +1,13 @@
-/* $OpenBSD: crtend.c,v 1.3 2004/01/08 14:59:15 drahn Exp $ */
+/* $OpenBSD: crtend.c,v 1.4 2004/01/26 20:00:37 espie Exp $ */
/* $NetBSD: crtend.c,v 1.1 1996/09/12 16:59:04 cgd Exp $ */
#include <sys/cdefs.h>
#include "md_init.h"
+#include "extern.h"
-static void (*__CTOR_LIST__[1])(void)
+static init_f __CTOR_LIST__[1]
__attribute__((section(".ctors"))) = { (void *)0 }; /* XXX */
-static void (*__DTOR_LIST__[1])(void)
+static init_f __DTOR_LIST__[1]
__attribute__((section(".dtors"))) = { (void *)0 }; /* XXX */
MD_SECTION_EPILOGUE(".init");