summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2003-07-18 23:02:58 +0000
committertedu <tedu@openbsd.org>2003-07-18 23:02:58 +0000
commitcf555702eb57d66a630470172f71086a7dbb5f63 (patch)
tree503c60e6be3785b549e79b2f07cea60e6abb4abf
parentadd missing includes (diff)
downloadwireguard-openbsd-cf555702eb57d66a630470172f71086a7dbb5f63.tar.xz
wireguard-openbsd-cf555702eb57d66a630470172f71086a7dbb5f63.zip
caddr_t -> void *. ok millert@ tdeval@
-rw-r--r--sys/sys/file.h4
-rw-r--r--sys/sys/mount.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h
index 04debffafd8..aa6fbd31339 100644
--- a/sys/sys/file.h
+++ b/sys/sys/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.19 2003/06/02 23:28:21 millert Exp $ */
+/* $OpenBSD: file.h,v 1.20 2003/07/18 23:02:58 tedu Exp $ */
/* $NetBSD: file.h,v 1.11 1995/03/26 20:24:13 jtc Exp $ */
/*
@@ -78,7 +78,7 @@ struct file {
int (*fo_close)(struct file *fp, struct proc *p);
} *f_ops;
off_t f_offset;
- caddr_t f_data; /* private data */
+ void *f_data; /* private data */
int f_iflags; /* internal flags */
int f_usecount; /* number of users (temporary references). */
};
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index ab648321843..2750af8da92 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount.h,v 1.54 2003/06/02 23:28:21 millert Exp $ */
+/* $OpenBSD: mount.h,v 1.55 2003/07/18 23:02:58 tedu Exp $ */
/* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */
/*
@@ -357,7 +357,7 @@ struct mount {
int mnt_flag; /* flags */
int mnt_maxsymlinklen; /* max size of short symlink */
struct statfs mnt_stat; /* cache of filesystem stats */
- qaddr_t mnt_data; /* private data */
+ void *mnt_data; /* private data */
};
/*