summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-12-18 06:23:09 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-12-18 06:23:09 +0000
commitfd36abcbbe44ba16058ce3a7a4a6f6b39c8ad71a (patch)
tree84972e86f9fb35440ab2b2b432aeccd5551178cf
parent3f6ad1541f30e14fda5488e47e3774dd6fb10b9a (diff)
Fix func decl. in comment.
-rw-r--r--lib/libc_r/arch/sparc/uthread_machdep_asm.S7
-rw-r--r--lib/libpthread/arch/sparc/uthread_machdep_asm.S7
2 files changed, 10 insertions, 4 deletions
diff --git a/lib/libc_r/arch/sparc/uthread_machdep_asm.S b/lib/libc_r/arch/sparc/uthread_machdep_asm.S
index 4e85e368a31..ec1116e35e8 100644
--- a/lib/libc_r/arch/sparc/uthread_machdep_asm.S
+++ b/lib/libc_r/arch/sparc/uthread_machdep_asm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_machdep_asm.S,v 1.3 2001/12/18 03:44:40 marc Exp $ */
+/* $OpenBSD: uthread_machdep_asm.S,v 1.4 2001/12/18 06:23:08 fgsch Exp $ */
/* David Leonard <d@csee.uq.edu.au>. Public domain. */
#include <machine/asm.h>
@@ -18,7 +18,10 @@
#define SA(x) (((x)+7)&(~0x7))
#define MINFRAME ((16+1+6)*4)
-/* void _thread_switch(int newstate[2], int savestate[2], int flags); */
+/*
+ * void _thread_switch(newstate, oldstate);
+ * struct _machdep_state *newstate, *oldstate;
+ */
ENTRY(_thread_machdep_switch)
/* new window */
diff --git a/lib/libpthread/arch/sparc/uthread_machdep_asm.S b/lib/libpthread/arch/sparc/uthread_machdep_asm.S
index 4e85e368a31..ec1116e35e8 100644
--- a/lib/libpthread/arch/sparc/uthread_machdep_asm.S
+++ b/lib/libpthread/arch/sparc/uthread_machdep_asm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_machdep_asm.S,v 1.3 2001/12/18 03:44:40 marc Exp $ */
+/* $OpenBSD: uthread_machdep_asm.S,v 1.4 2001/12/18 06:23:08 fgsch Exp $ */
/* David Leonard <d@csee.uq.edu.au>. Public domain. */
#include <machine/asm.h>
@@ -18,7 +18,10 @@
#define SA(x) (((x)+7)&(~0x7))
#define MINFRAME ((16+1+6)*4)
-/* void _thread_switch(int newstate[2], int savestate[2], int flags); */
+/*
+ * void _thread_switch(newstate, oldstate);
+ * struct _machdep_state *newstate, *oldstate;
+ */
ENTRY(_thread_machdep_switch)
/* new window */