summaryrefslogtreecommitdiff
path: root/lib/csu/crtendS.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/crtendS.c')
-rw-r--r--lib/csu/crtendS.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/csu/crtendS.c b/lib/csu/crtendS.c
index dd957d071fc..1137b450202 100644
--- a/lib/csu/crtendS.c
+++ b/lib/csu/crtendS.c
@@ -1,12 +1,13 @@
-/* $OpenBSD: crtendS.c,v 1.3 2004/01/08 14:59:15 drahn Exp $ */
+/* $OpenBSD: crtendS.c,v 1.4 2004/01/26 20:00:37 espie Exp $ */
/* $NetBSD: crtend.c,v 1.1 1997/04/16 19:38:24 thorpej 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");