diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /lib/csu/common_elf/crtendS.c | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (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/crtendS.c')
-rw-r--r-- | lib/csu/common_elf/crtendS.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/common_elf/crtendS.c b/lib/csu/common_elf/crtendS.c index 2b3dbb174a1..264189126e8 100644 --- a/lib/csu/common_elf/crtendS.c +++ b/lib/csu/common_elf/crtendS.c @@ -1,9 +1,9 @@ -/* $OpenBSD: crtendS.c,v 1.1 2001/05/28 21:38:13 drahn Exp $ */ +/* $OpenBSD: crtendS.c,v 1.2 2002/02/16 21:27:20 millert Exp $ */ /* $NetBSD: crtend.c,v 1.1 1997/04/16 19:38:24 thorpej Exp $ */ #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 */ |