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/sparc | |
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/sparc')
-rw-r--r-- | lib/csu/sparc/crt0.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/csu/sparc/crt0.c b/lib/csu/sparc/crt0.c index 7e5d5e030ca..4a4717f64f5 100644 --- a/lib/csu/sparc/crt0.c +++ b/lib/csu/sparc/crt0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crt0.c,v 1.3 1999/08/20 14:11:36 niklas Exp $ */ +/* $OpenBSD: crt0.c,v 1.4 2002/02/16 21:27:20 millert Exp $ */ /* $NetBSD: crt0.c,v 1.15 1995/06/15 21:41:55 pk Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -33,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: crt0.c,v 1.3 1999/08/20 14:11:36 niklas Exp $"; +static char rcsid[] = "$OpenBSD: crt0.c,v 1.4 2002/02/16 21:27:20 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -43,10 +43,10 @@ static char rcsid[] = "$OpenBSD: crt0.c,v 1.3 1999/08/20 14:11:36 niklas Exp $"; extern unsigned char etext; extern unsigned char eprol asm ("eprol"); -extern void start __P((void)) asm("start"); +extern void start(void) asm("start"); #if defined(sun) && defined(sparc) -static void __call __P((void)); +static void __call(void); #endif #ifdef BSD @@ -54,7 +54,7 @@ static void __call __P((void)); #define mmap(addr, len, prot, flags, fd, off) \ __syscall2((quad_t)SYS_mmap, (addr), (len), (prot), (flags), \ (fd), 0, (off_t)(off)) -extern int __syscall2 __P((quad_t, ...)); +extern int __syscall2(quad_t, ...); #endif asm (" .global start"); |