summaryrefslogtreecommitdiff
path: root/lib/libc_r
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>2000-10-03 02:57:18 +0000
committerDavid Leonard <d@cvs.openbsd.org>2000-10-03 02:57:18 +0000
commite114dc8e2301c8aa375e6c010cf40e62cac27578 (patch)
tree8f61e514b4f7843c254d2e3f62f0d176bae49044 /lib/libc_r
parentacd2343e1542808bb090664d32a2b21ac774b0b4 (diff)
constistent naming
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/arch/powerpc/uthread_machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc_r/arch/powerpc/uthread_machdep.c b/lib/libc_r/arch/powerpc/uthread_machdep.c
index e7137e20d11..d2835fa5397 100644
--- a/lib/libc_r/arch/powerpc/uthread_machdep.c
+++ b/lib/libc_r/arch/powerpc/uthread_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_machdep.c,v 1.1 2000/09/25 01:16:40 d Exp $ */
+/* $OpenBSD: uthread_machdep.c,v 1.2 2000/10/03 02:57:17 d Exp $ */
/* David Leonard, <d@csee.uq.edu.au>. Public domain */
#include <pthread.h>
@@ -7,7 +7,7 @@
#define ALIGNBYTES 0xf
/* Register save frame as it appears on the stack */
-struct _machdep_frame {
+struct frame {
int r1;
int reserved;
int gp[32-14];
@@ -30,10 +30,10 @@ _thread_machdep_init(statep, base, len, entry)
int len;
void (*entry)(void);
{
- struct _machdep_frame *f;
+ struct frame *f;
/* Locate the initial frame, aligned at the top of the stack */
- f = (struct _machdep_frame *)(((int)base + len - sizeof *f) & ~ALIGNBYTES);
+ f = (struct frame *)(((int)base + len - sizeof *f) & ~ALIGNBYTES);
f->r1 = (int)&f->next_r1;
f->reserved = 0;