summaryrefslogtreecommitdiff
path: root/lib/csu/common_elf/crtend.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /lib/csu/common_elf/crtend.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'lib/csu/common_elf/crtend.c')
-rw-r--r--lib/csu/common_elf/crtend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/common_elf/crtend.c b/lib/csu/common_elf/crtend.c
index a44627276a2..e81d17481f2 100644
--- a/lib/csu/common_elf/crtend.c
+++ b/lib/csu/common_elf/crtend.c
@@ -1,13 +1,13 @@
-/* $OpenBSD: crtend.c,v 1.1 2001/02/03 22:47:01 art Exp $ */
+/* $OpenBSD: crtend.c,v 1.2 2002/02/16 21:27:20 millert Exp $ */
/* $NetBSD: crtend.c,v 1.1 1996/09/12 16:59:04 cgd Exp $ */
#ifndef ECOFF_COMPAT
#include <sys/cdefs.h>
-static void (*__CTOR_LIST__[1]) __P((void))
+static void (*__CTOR_LIST__[1])(void)
__attribute__((section(".ctors"))) = { (void *)0 }; /* XXX */
-static void (*__DTOR_LIST__[1]) __P((void))
+static void (*__DTOR_LIST__[1])(void)
__attribute__((section(".dtors"))) = { (void *)0 }; /* XXX */
#endif /* !ECOFF_COMPAT */