diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-07-23 20:55:32 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-07-23 20:55:32 +0000 |
commit | e9d332cb6af71b2d65cdb6004debdb399d774993 (patch) | |
tree | 51948dc5b09e612265eb4a6eac4f727f428f9b9f /lib/libc | |
parent | 48f72858c6c937f2a793a9209ea0bc1c2ede6697 (diff) |
tabify
Diffstat (limited to 'lib/libc')
25 files changed, 154 insertions, 154 deletions
diff --git a/lib/libc/arch/alpha/gen/frexp.c b/lib/libc/arch/alpha/gen/frexp.c index 09c462214d4..bf7eeace05b 100644 --- a/lib/libc/arch/alpha/gen/frexp.c +++ b/lib/libc/arch/alpha/gen/frexp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: frexp.c,v 1.3 1996/11/13 21:20:17 niklas Exp $ */ +/* $OpenBSD: frexp.c,v 1.4 1997/07/23 20:55:17 kstailey Exp $ */ /* $NetBSD: frexp.c,v 1.1 1995/02/10 17:50:22 cgd Exp $ */ /* @@ -29,7 +29,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: frexp.c,v 1.3 1996/11/13 21:20:17 niklas Exp $"; +static char *rcsid = "$OpenBSD: frexp.c,v 1.4 1997/07/23 20:55:17 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -42,9 +42,9 @@ frexp(value, eptr) int *eptr; { union doub { - double v; + double v; struct ieee_double s; - } u; + } u; if (value) { u.v = value; diff --git a/lib/libc/arch/arm32/gen/_setjmp.S b/lib/libc/arch/arm32/gen/_setjmp.S index dd8fa93ebe7..38e6c2e1aae 100644 --- a/lib/libc/arch/arm32/gen/_setjmp.S +++ b/lib/libc/arch/arm32/gen/_setjmp.S @@ -34,43 +34,43 @@ #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: _setjmp.S,v 1.3 1996/08/19 08:11:29 tholo Exp $" + .asciz "$OpenBSD: _setjmp.S,v 1.4 1997/07/23 20:55:18 kstailey Exp $" #endif .text .align 0 ENTRY(_setjmp) -/* LDR a4,[pc,#|__fpflag_ptr|-.-8] - LDR a4,[a4,#0] - CMP a4,#0 - ADDEQ a1,a1,#48 - BEQ |__setjmp_l1| - STFE f4,[a1],#12 - STFE f5,[a1],#12 - STFE f6,[a1],#12 - STFE f7,[a1],#12 +/* LDR a4,[pc,#|__fpflag_ptr|-.-8] + LDR a4,[a4,#0] + CMP a4,#0 + ADDEQ a1,a1,#48 + BEQ |__setjmp_l1| + STFE f4,[a1],#12 + STFE f5,[a1],#12 + STFE f6,[a1],#12 + STFE f7,[a1],#12 |__setjmp_l1|*/ add r0, r0, #48 - stmia r0, {r1-r12, r13, r14} - mov r0, #0x00000000 - mov r15, r14 + stmia r0, {r1-r12, r13, r14} + mov r0, #0x00000000 + mov r15, r14 ENTRY(_longjmp) ldr r2, L_longjmpret str r1, [r2] -/* LDR a4,[pc,#|__fpflag_ptr|-.-8] - LDR a4,[a4,#0] - CMP a4,#0 - ADDEQ a1,a1,#48 - BEQ |__longjmp_l1| - LDFE f4,[a1],#12 - LDFE f5,[a1],#12 - LDFE f6,[a1],#12 - LDFE f7,[a1],#12 +/* LDR a4,[pc,#|__fpflag_ptr|-.-8] + LDR a4,[a4,#0] + CMP a4,#0 + ADDEQ a1,a1,#48 + BEQ |__longjmp_l1| + LDFE f4,[a1],#12 + LDFE f5,[a1],#12 + LDFE f6,[a1],#12 + LDFE f7,[a1],#12 |__longjmp_l1|*/ add r0, r0, #48 - ldmia r0, {r1-r12, r13, r14} + ldmia r0, {r1-r12, r13, r14} ldr r0, L_longjmpret ldr r0, [r0] teq r0, #0x00000000 diff --git a/lib/libc/arch/arm32/gen/frexp.c b/lib/libc/arch/arm32/gen/frexp.c index 1fdd6f887ed..0770b6f8e4e 100644 --- a/lib/libc/arch/arm32/gen/frexp.c +++ b/lib/libc/arch/arm32/gen/frexp.c @@ -36,7 +36,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: frexp.c,v 1.2 1996/08/19 08:11:40 tholo Exp $"; +static char *rcsid = "$OpenBSD: frexp.c,v 1.3 1997/07/23 20:55:18 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -53,7 +53,7 @@ frexp(value, eptr) int *eptr; { union { - double v; + double v; struct ieee_double s; } u; diff --git a/lib/libc/arch/arm32/gen/setjmp.S b/lib/libc/arch/arm32/gen/setjmp.S index e927645c2db..04e67780dee 100644 --- a/lib/libc/arch/arm32/gen/setjmp.S +++ b/lib/libc/arch/arm32/gen/setjmp.S @@ -34,7 +34,7 @@ #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: setjmp.S,v 1.3 1996/08/19 08:11:45 tholo Exp $" + .asciz "$OpenBSD: setjmp.S,v 1.4 1997/07/23 20:55:19 kstailey Exp $" #endif .text @@ -51,20 +51,20 @@ ENTRY(setjmp) str r1, [r0], #0x0004 -/* LDR a4,[pc,#|__fpflag_ptr|-.-8] - LDR a4,[a4,#0] - CMP a4,#0 - ADDEQ a1,a1,#48 - BEQ |__setjmp_l1| - STFE f4,[a1],#12 - STFE f5,[a1],#12 - STFE f6,[a1],#12 - STFE f7,[a1],#12 +/* LDR a4,[pc,#|__fpflag_ptr|-.-8] + LDR a4,[a4,#0] + CMP a4,#0 + ADDEQ a1,a1,#48 + BEQ |__setjmp_l1| + STFE f4,[a1],#12 + STFE f5,[a1],#12 + STFE f6,[a1],#12 + STFE f7,[a1],#12 |__setjmp_l1|*/ add r0, r0, #48 - stmia r0, {r4-r9, r11, r13, r14} - mov r0, #0x00000000 - mov r15, r14 + stmia r0, {r4-r9, r11, r13, r14} + mov r0, #0x00000000 + mov r15, r14 ENTRY(longjmp) ldr r2, [r0], #0x0004 @@ -74,18 +74,18 @@ ENTRY(longjmp) bl _sigsetmask ldmfd r13!, {r0, r1, r14} -/* LDR a4,[pc,#|__fpflag_ptr|-.-8] - LDR a4,[a4,#0] - CMP a4,#0 - ADDEQ a1,a1,#48 - BEQ |__longjmp_l1| - LDFE f4,[a1],#12 - LDFE f5,[a1],#12 - LDFE f6,[a1],#12 - LDFE f7,[a1],#12 +/* LDR a4,[pc,#|__fpflag_ptr|-.-8] + LDR a4,[a4,#0] + CMP a4,#0 + ADDEQ a1,a1,#48 + BEQ |__longjmp_l1| + LDFE f4,[a1],#12 + LDFE f5,[a1],#12 + LDFE f6,[a1],#12 + LDFE f7,[a1],#12 |__longjmp_l1|*/ add r2, r0, #48 - ldmia r2, {r4-r9, r11, r13, r14} + ldmia r2, {r4-r9, r11, r13, r14} mov r0, r1 teq r0, #0x00000000 moveq r0, #0x00000001 diff --git a/lib/libc/arch/arm32/gen/sigsetjmp.S b/lib/libc/arch/arm32/gen/sigsetjmp.S index 74cfc5f8822..6744c63e49e 100644 --- a/lib/libc/arch/arm32/gen/sigsetjmp.S +++ b/lib/libc/arch/arm32/gen/sigsetjmp.S @@ -34,43 +34,43 @@ #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: sigsetjmp.S,v 1.3 1996/08/19 08:11:46 tholo Exp $" + .asciz "$OpenBSD: sigsetjmp.S,v 1.4 1997/07/23 20:55:19 kstailey Exp $" #endif .text .align 0 ENTRY(sigsetjmp) -/* LDR a4,[pc,#|__fpflag_ptr|-.-8] - LDR a4,[a4,#0] - CMP a4,#0 - ADDEQ a1,a1,#48 - BEQ |__sigsetjmp_l1| - STFE f4,[a1],#12 - STFE f5,[a1],#12 - STFE f6,[a1],#12 - STFE f7,[a1],#12 +/* LDR a4,[pc,#|__fpflag_ptr|-.-8] + LDR a4,[a4,#0] + CMP a4,#0 + ADDEQ a1,a1,#48 + BEQ |__sigsetjmp_l1| + STFE f4,[a1],#12 + STFE f5,[a1],#12 + STFE f6,[a1],#12 + STFE f7,[a1],#12 |__sigsetjmp_l1|*/ add r0, r0, #48 - stmia r0, {r1-r12, r13, r14} - mov r0, #0x00000000 - mov r15, r14 + stmia r0, {r1-r12, r13, r14} + mov r0, #0x00000000 + mov r15, r14 ENTRY(siglongjmp) ldr r2, L_siglongjmpret str r1, [r2] -/* LDR a4,[pc,#|__fpflag_ptr|-.-8] - LDR a4,[a4,#0] - CMP a4,#0 - ADDEQ a1,a1,#48 - BEQ |__siglongjmp_l1| - LDFE f4,[a1],#12 - LDFE f5,[a1],#12 - LDFE f6,[a1],#12 - LDFE f7,[a1],#12 +/* LDR a4,[pc,#|__fpflag_ptr|-.-8] + LDR a4,[a4,#0] + CMP a4,#0 + ADDEQ a1,a1,#48 + BEQ |__siglongjmp_l1| + LDFE f4,[a1],#12 + LDFE f5,[a1],#12 + LDFE f6,[a1],#12 + LDFE f7,[a1],#12 |__siglongjmp_l1|*/ add r0, r0, #48 - ldmia r0, {r1-r12, r13, r14} + ldmia r0, {r1-r12, r13, r14} ldr r0, L_siglongjmpret ldr r0, [r0] teq r0, #0x00000000 diff --git a/lib/libc/arch/i386/gen/frexp.c b/lib/libc/arch/i386/gen/frexp.c index f277a5456c4..4da4eac1f31 100644 --- a/lib/libc/arch/i386/gen/frexp.c +++ b/lib/libc/arch/i386/gen/frexp.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: frexp.c,v 1.2 1996/08/19 08:12:29 tholo Exp $"; +static char rcsid[] = "$OpenBSD: frexp.c,v 1.3 1997/07/23 20:55:20 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -44,14 +44,14 @@ frexp(value, eptr) int *eptr; { union { - double v; - struct { + double v; + struct { u_int u_mant2 : 32; u_int u_mant1 : 20; u_int u_exp : 11; - u_int u_sign : 1; - } s; - } u; + u_int u_sign : 1; + } s; + } u; if (value) { u.v = value; diff --git a/lib/libc/arch/i386/stdlib/div.S b/lib/libc/arch/i386/stdlib/div.S index 77ea153f0d4..29fef17d0c8 100644 --- a/lib/libc/arch/i386/stdlib/div.S +++ b/lib/libc/arch/i386/stdlib/div.S @@ -7,14 +7,14 @@ #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: div.S,v 1.2 1996/08/19 08:12:46 tholo Exp $" + .asciz "$OpenBSD: div.S,v 1.3 1997/07/23 20:55:20 kstailey Exp $" #endif ENTRY(div) - movl 4(%esp),%eax - movl 8(%esp),%ecx - cdq - idiv %ecx - movl %eax,4(%esp) - movl %edx,8(%esp) - ret + movl 4(%esp),%eax + movl 8(%esp),%ecx + cdq + idiv %ecx + movl %eax,4(%esp) + movl %edx,8(%esp) + ret diff --git a/lib/libc/arch/i386/stdlib/ldiv.S b/lib/libc/arch/i386/stdlib/ldiv.S index 4d6d2623de8..2cedafa783f 100644 --- a/lib/libc/arch/i386/stdlib/ldiv.S +++ b/lib/libc/arch/i386/stdlib/ldiv.S @@ -7,14 +7,14 @@ #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: ldiv.S,v 1.2 1996/08/19 08:12:48 tholo Exp $" + .asciz "$OpenBSD: ldiv.S,v 1.3 1997/07/23 20:55:21 kstailey Exp $" #endif ENTRY(ldiv) - movl 4(%esp),%eax - movl 8(%esp),%ecx - cdq - idiv %ecx - movl %eax,4(%esp) - movl %edx,8(%esp) - ret + movl 4(%esp),%eax + movl 8(%esp),%ecx + cdq + idiv %ecx + movl %eax,4(%esp) + movl %edx,8(%esp) + ret diff --git a/lib/libc/arch/i386/string/memcmp.S b/lib/libc/arch/i386/string/memcmp.S index 1c7938044f4..fdd49c948ce 100644 --- a/lib/libc/arch/i386/string/memcmp.S +++ b/lib/libc/arch/i386/string/memcmp.S @@ -7,7 +7,7 @@ #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: memcmp.S,v 1.2 1996/08/19 08:13:03 tholo Exp $" + .asciz "$OpenBSD: memcmp.S,v 1.3 1997/07/23 20:55:21 kstailey Exp $" #endif ENTRY(memcmp) @@ -40,8 +40,8 @@ L5: movl $4,%ecx /* We know that one of the next */ repe cmpsb L6: movzbl -1(%edi),%eax /* Perform unsigned comparison */ - movzbl -1(%esi),%edx - subl %edx,%eax + movzbl -1(%esi),%edx + subl %edx,%eax popl %esi popl %edi ret diff --git a/lib/libc/arch/i386/sys/sbrk.S b/lib/libc/arch/i386/sys/sbrk.S index b8426aacba5..1cbafaae322 100644 --- a/lib/libc/arch/i386/sys/sbrk.S +++ b/lib/libc/arch/i386/sys/sbrk.S @@ -37,8 +37,8 @@ #include "SYS.h" #if defined(SYSLIBC_SCCS) - .text - .asciz "$OpenBSD: sbrk.S,v 1.2 1996/08/19 08:13:37 tholo Exp $" + .text + .asciz "$OpenBSD: sbrk.S,v 1.3 1997/07/23 20:55:22 kstailey Exp $" #endif /* SYSLIBC_SCCS */ .globl _end diff --git a/lib/libc/arch/i386/sys/sigprocmask.S b/lib/libc/arch/i386/sys/sigprocmask.S index 1cfd2c3e2b6..17853ed793d 100644 --- a/lib/libc/arch/i386/sys/sigprocmask.S +++ b/lib/libc/arch/i386/sys/sigprocmask.S @@ -37,8 +37,8 @@ #include "SYS.h" #if defined(SYSLIBC_SCCS) - .text - .asciz "$OpenBSD: sigprocmask.S,v 1.2 1996/08/19 08:13:41 tholo Exp $" + .text + .asciz "$OpenBSD: sigprocmask.S,v 1.3 1997/07/23 20:55:23 kstailey Exp $" #endif /* SYSLIBC_SCCS */ ENTRY(sigprocmask) diff --git a/lib/libc/arch/m68k/gen/frexp.c b/lib/libc/arch/m68k/gen/frexp.c index 24991d75bc1..0fef1f5b73e 100644 --- a/lib/libc/arch/m68k/gen/frexp.c +++ b/lib/libc/arch/m68k/gen/frexp.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: frexp.c,v 1.2 1996/08/19 08:14:23 tholo Exp $"; +static char rcsid[] = "$OpenBSD: frexp.c,v 1.3 1997/07/23 20:55:23 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -44,14 +44,14 @@ frexp(value, eptr) int *eptr; { union { - double v; - struct { - u_int u_sign : 1; + double v; + struct { + u_int u_sign : 1; u_int u_exp : 11; u_int u_mant1 : 20; u_int u_mant2 : 32; - } s; - } u; + } s; + } u; if (value) { u.v = value; diff --git a/lib/libc/arch/m68k/gen/sigsetjmp.S b/lib/libc/arch/m68k/gen/sigsetjmp.S index 3c869e369b6..d0839066603 100644 --- a/lib/libc/arch/m68k/gen/sigsetjmp.S +++ b/lib/libc/arch/m68k/gen/sigsetjmp.S @@ -37,7 +37,7 @@ #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: sigsetjmp.S,v 1.2 1996/08/19 08:14:41 tholo Exp $" + .asciz "$OpenBSD: sigsetjmp.S,v 1.3 1997/07/23 20:55:24 kstailey Exp $" #endif /* LIBC_SCCS */ /* @@ -58,7 +58,7 @@ ENTRY(sigsetjmp) movl sp@(8),d1 /* grab the mask */ - movl sp@(4),a0 /* grab the area pointer */ + movl sp@(4),a0 /* grab the area pointer */ movl d1,a0@(_JBLEN * 4 ) /* save at end of area */ tstl d1 bne dosig diff --git a/lib/libc/arch/mips/gen/frexp.c b/lib/libc/arch/mips/gen/frexp.c index 04806250ec1..181e1dc735d 100644 --- a/lib/libc/arch/mips/gen/frexp.c +++ b/lib/libc/arch/mips/gen/frexp.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: frexp.c,v 1.2 1996/08/19 08:16:00 tholo Exp $"; +static char rcsid[] = "$OpenBSD: frexp.c,v 1.3 1997/07/23 20:55:24 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -45,21 +45,21 @@ frexp(value, eptr) int *eptr; { union { - double v; - struct { + double v; + struct { #if BYTE_ORDER == LITTLE_ENDIAN u_int u_mant2 : 32; u_int u_mant1 : 20; u_int u_exp : 11; - u_int u_sign : 1; + u_int u_sign : 1; #else - u_int u_sign : 1; + u_int u_sign : 1; u_int u_exp : 11; u_int u_mant1 : 20; u_int u_mant2 : 32; #endif - } s; - } u; + } s; + } u; if (value) { u.v = value; diff --git a/lib/libc/arch/mips/gen/setjmp.S b/lib/libc/arch/mips/gen/setjmp.S index b23f9180259..0abfed8948a 100644 --- a/lib/libc/arch/mips/gen/setjmp.S +++ b/lib/libc/arch/mips/gen/setjmp.S @@ -39,8 +39,8 @@ #include <machine/regnum.h> #if defined(LIBC_SCCS) - .text - .asciz "$OpenBSD: setjmp.S,v 1.5 1996/08/19 08:16:05 tholo Exp $" + .text + .asciz "$OpenBSD: setjmp.S,v 1.6 1997/07/23 20:55:25 kstailey Exp $" #endif /* LIBC_SCCS */ /* diff --git a/lib/libc/arch/mvme88k/gen/frexp.c b/lib/libc/arch/mvme88k/gen/frexp.c index 721515ec8f7..f69aa240a57 100644 --- a/lib/libc/arch/mvme88k/gen/frexp.c +++ b/lib/libc/arch/mvme88k/gen/frexp.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: Header: frexp.c,v 1.1 91/07/07 04:45:01 torek Exp - * $Id: frexp.c,v 1.1 1997/03/25 17:07:01 rahnds Exp $ + * $Id: frexp.c,v 1.2 1997/07/23 20:55:26 kstailey Exp $ */ #if defined(LIBC_SCCS) && !defined(lint) @@ -56,7 +56,7 @@ frexp(value, eptr) int *eptr; { union { - double v; + double v; struct ieee_double s; } u; diff --git a/lib/libc/arch/mvme88k/gen/modf.c b/lib/libc/arch/mvme88k/gen/modf.c index ea2be134ba9..e90dcdb59da 100644 --- a/lib/libc/arch/mvme88k/gen/modf.c +++ b/lib/libc/arch/mvme88k/gen/modf.c @@ -39,7 +39,7 @@ static char rcsid[] = "$NetBSD: s_modf.c,v 1.8 1995/05/10 20:47:55 jtc Exp $"; /* * from: @(#)fdlibm.h 5.1 93/09/24 - * $Id: modf.c,v 1.1 1997/03/25 17:07:05 rahnds Exp $ + * $Id: modf.c,v 1.2 1997/07/23 20:55:26 kstailey Exp $ */ #ifndef _MATH_PRIVATE_H_ @@ -272,7 +272,7 @@ static double one = 1.0; j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ if(j0<20) { /* integer part in high x */ if(j0<0) { /* |x|<1 */ - INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */ + INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */ return x; } else { i = (0x000fffff)>>j0; @@ -296,13 +296,13 @@ static double one = 1.0; } else { /* fraction part in low x */ i = ((u_int32_t)(0xffffffff))>>(j0-20); if((i1&i)==0) { /* x is integral */ - u_int32_t high; + u_int32_t high; *iptr = x; GET_HIGH_WORD(high,x); INSERT_WORDS(x,high&0x80000000,0); /* return +-0 */ return x; } else { - INSERT_WORDS(*iptr,i0,i1&(~i)); + INSERT_WORDS(*iptr,i0,i1&(~i)); return x - *iptr; } } diff --git a/lib/libc/arch/ns32k/sys/setlogin.S b/lib/libc/arch/ns32k/sys/setlogin.S index bd8caf62b86..aa1c5ba82f0 100644 --- a/lib/libc/arch/ns32k/sys/setlogin.S +++ b/lib/libc/arch/ns32k/sys/setlogin.S @@ -18,10 +18,10 @@ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: setlogin.S,v 1.2 1996/08/19 08:17:13 tholo Exp $" + .asciz "$OpenBSD: setlogin.S,v 1.3 1997/07/23 20:55:27 kstailey Exp $" #endif /* SYSLIBC_SCCS */ - .globl ___logname_valid /* in getlogin() */ + .globl ___logname_valid /* in getlogin() */ SYSCALL(setlogin) PIC_PROLOGUE diff --git a/lib/libc/arch/powerpc/gen/frexp.c b/lib/libc/arch/powerpc/gen/frexp.c index 213524cdd68..2297cf7dbb2 100644 --- a/lib/libc/arch/powerpc/gen/frexp.c +++ b/lib/libc/arch/powerpc/gen/frexp.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: frexp.c,v 1.1 1997/01/17 21:39:20 rahnds Exp $"; +static char rcsid[] = "$OpenBSD: frexp.c,v 1.2 1997/07/23 20:55:27 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -44,14 +44,14 @@ frexp(value, eptr) int *eptr; { union { - double v; - struct { - u_int u_sign : 1; + double v; + struct { + u_int u_sign : 1; u_int u_exp : 11; u_int u_mant1 : 20; u_int u_mant2 : 32; - } s; - } u; + } s; + } u; if (value) { u.v = value; diff --git a/lib/libc/arch/powerpc/gen/modf.c b/lib/libc/arch/powerpc/gen/modf.c index 396cf912540..0366bf9f565 100644 --- a/lib/libc/arch/powerpc/gen/modf.c +++ b/lib/libc/arch/powerpc/gen/modf.c @@ -39,7 +39,7 @@ static char rcsid[] = "$NetBSD: s_modf.c,v 1.8 1995/05/10 20:47:55 jtc Exp $"; /* * from: @(#)fdlibm.h 5.1 93/09/24 - * $Id: modf.c,v 1.2 1997/01/02 03:12:07 rahnds Exp $ + * $Id: modf.c,v 1.3 1997/07/23 20:55:28 kstailey Exp $ */ #ifndef _MATH_PRIVATE_H_ @@ -272,7 +272,7 @@ static double one = 1.0; j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ if(j0<20) { /* integer part in high x */ if(j0<0) { /* |x|<1 */ - INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */ + INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */ return x; } else { i = (0x000fffff)>>j0; @@ -296,13 +296,13 @@ static double one = 1.0; } else { /* fraction part in low x */ i = ((u_int32_t)(0xffffffff))>>(j0-20); if((i1&i)==0) { /* x is integral */ - u_int32_t high; + u_int32_t high; *iptr = x; GET_HIGH_WORD(high,x); INSERT_WORDS(x,high&0x80000000,0); /* return +-0 */ return x; } else { - INSERT_WORDS(*iptr,i0,i1&(~i)); + INSERT_WORDS(*iptr,i0,i1&(~i)); return x - *iptr; } } diff --git a/lib/libc/arch/powerpc/sys/syscall.S b/lib/libc/arch/powerpc/sys/syscall.S index 4d0ba95ff30..bfdb00c7092 100644 --- a/lib/libc/arch/powerpc/sys/syscall.S +++ b/lib/libc/arch/powerpc/sys/syscall.S @@ -2,8 +2,8 @@ * COPYRIGHT */ #if defined(SYSLIBC_SCCS) - .text - .asciz "$OpenBSD: syscall.S,v 1.1 1996/12/21 20:42:24 rahnds Exp $" + .text + .asciz "$OpenBSD: syscall.S,v 1.2 1997/07/23 20:55:29 kstailey Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" diff --git a/lib/libc/arch/sparc/gen/fixunsdfsi.S b/lib/libc/arch/sparc/gen/fixunsdfsi.S index cd7471d0055..a8b7b0574cf 100644 --- a/lib/libc/arch/sparc/gen/fixunsdfsi.S +++ b/lib/libc/arch/sparc/gen/fixunsdfsi.S @@ -37,7 +37,7 @@ #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: fixunsdfsi.S,v 1.2 1996/08/19 08:17:27 tholo Exp $" + .asciz "$OpenBSD: fixunsdfsi.S,v 1.3 1997/07/23 20:55:29 kstailey Exp $" #endif /* LIBC_SCCS */ /* @@ -68,7 +68,7 @@ ENTRY(__fixunsdfsi) fcmped %f0, %f2 ! d < 2^31, or NaN, or -Inf? nop ! (fpop2 delay) fbul,a 1f ! if so, use fdtoi to convert to int - fdtoi %f0, %f0 ! (this includes negatives!) + fdtoi %f0, %f0 ! (this includes negatives!) ! d does not fit in an int, so subtract 2^31, convert, ! and add 2^31 again (sigh). Just hope the intermediate diff --git a/lib/libc/arch/sparc/gen/frexp.c b/lib/libc/arch/sparc/gen/frexp.c index 125cf252bd0..2dcc0300fc9 100644 --- a/lib/libc/arch/sparc/gen/frexp.c +++ b/lib/libc/arch/sparc/gen/frexp.c @@ -36,7 +36,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: frexp.c,v 1.2 1996/08/19 08:17:36 tholo Exp $"; +static char rcsid[] = "$OpenBSD: frexp.c,v 1.3 1997/07/23 20:55:30 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -53,7 +53,7 @@ frexp(value, eptr) int *eptr; { union { - double v; + double v; struct ieee_double s; } u; diff --git a/lib/libc/arch/vax/gen/frexp.c b/lib/libc/arch/vax/gen/frexp.c index 3d8747445f1..f35e0118151 100644 --- a/lib/libc/arch/vax/gen/frexp.c +++ b/lib/libc/arch/vax/gen/frexp.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: frexp.c,v 1.2 1996/08/19 08:18:24 tholo Exp $"; +static char rcsid[] = "$OpenBSD: frexp.c,v 1.3 1997/07/23 20:55:31 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -44,15 +44,15 @@ frexp(value, eptr) int *eptr; { union { - double v; - struct { + double v; + struct { u_int u_mant1 : 7; u_int u_exp : 8; u_int u_sign : 1; u_int u_mant2 : 16; u_int u_mant3 : 32; - } s; - } u; + } s; + } u; if (value) { u.v = value; diff --git a/lib/libc/arch/vax/string/Makefile.inc b/lib/libc/arch/vax/string/Makefile.inc index 0714508b2e0..fc67fc6c438 100644 --- a/lib/libc/arch/vax/string/Makefile.inc +++ b/lib/libc/arch/vax/string/Makefile.inc @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.3 1996/08/19 08:18:43 tholo Exp $ +# $OpenBSD: Makefile.inc,v 1.4 1997/07/23 20:55:31 kstailey Exp $ SRCS+= bcmp.S bcopy.S bzero.S ffs.S index.S memchr.c memcmp.S memset.S \ - rindex.c strcat.c strcmp.c strcpy.c strcspn.c strlen.c \ - strncat.c strncmp.c strncpy.c strpbrk.c strsep.c \ - strspn.c strstr.c swab.c + rindex.c strcat.c strcmp.c strcpy.c strcspn.c strlen.c \ + strncat.c strncmp.c strncpy.c strpbrk.c strsep.c \ + strspn.c strstr.c swab.c SRCS+= memcpy.S memmove.S |