aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/systm.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-01-16 09:57:25 +0000
committerBruce Evans <bde@FreeBSD.org>1996-01-16 09:57:25 +0000
commit6ccb06d333d51899686106ca52cf1093b68ea579 (patch)
tree7b37fc9b4ec1fd4b8fa7ced224266789d3ca2fc6 /sys/sys/systm.h
parentdba0a4da885303e3a18ff5e158e3bf2b483251a4 (diff)
downloadsrc-6ccb06d333d51899686106ca52cf1093b68ea579.tar.gz
src-6ccb06d333d51899686106ca52cf1093b68ea579.zip
Removed declarations of nonexistent functions copyoutstr(), fuiword()
and suiword(). They are no longer referenced in the machine-independent code (I think fuiword() and suiword() were only used by old versions of ptrace(), and copyoutstr() by old versions of exec). Added `const' where appropriate. Changed u_int to size_t' where appropriate. Named last arg of copystr() and copyinstr() better.
Notes
Notes: svn path=/head/; revision=13456
Diffstat (limited to 'sys/sys/systm.h')
-rw-r--r--sys/sys/systm.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 3fbfca16d7b8..2e364af58446 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)systm.h 8.4 (Berkeley) 2/23/94
- * $Id: systm.h,v 1.31 1996/01/15 10:28:44 phk Exp $
+ * $Id: systm.h,v 1.32 1996/01/15 22:41:03 phk Exp $
*/
#ifndef _SYS_SYSTM_H_
@@ -130,21 +130,20 @@ extern void (*bzero) __P((void *buf, size_t len));
void *memcpy __P((void *to, const void *from, size_t len));
-int copystr __P((void *kfaddr, void *kdaddr, u_int len, u_int *done));
-int copyinstr __P((void *udaddr, void *kaddr, u_int len, u_int *done));
-int copyoutstr __P((void *kaddr, void *udaddr, u_int len, u_int *done));
-int copyin __P((const void *udaddr, void *kaddr, u_int len));
-int copyout __P((const void *kaddr, void *udaddr, u_int len));
+int copystr __P((const void *kfaddr, void *kdaddr, size_t len,
+ size_t *lencopied));
+int copyinstr __P((const void *udaddr, void *kaddr, size_t len,
+ size_t *lencopied));
+int copyin __P((const void *udaddr, void *kaddr, size_t len));
+int copyout __P((const void *kaddr, void *udaddr, size_t len));
-int fubyte __P((void *base));
-int fuibyte __P((void *base));
+int fubyte __P((const void *base));
+int fuibyte __P((const void *base));
int subyte __P((void *base, int byte));
int suibyte __P((void *base, int byte));
-int fuword __P((void *base));
-int fuiword __P((void *base));
+int fuword __P((const void *base));
int suword __P((void *base, int word));
int susword __P((void *base, int word));
-int suiword __P((void *base, int word));
int hzto __P((struct timeval *tv));
void realitexpire __P((void *));