DragonFly commits List (threaded) for 2007-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/sys/sys socket.h src/include unistd.h
On Mon, Jan 08, 2007 at 09:19:26AM -0800, Matthew Dillon wrote:
> dillon 2007/01/08 09:19:26 PST
>
> DragonFly src repository
>
> Modified files:
> sys/sys socket.h
> include unistd.h
> Log:
> Make more libc prototypes available to _KERNEL builds.
The __p{read,write}v changes break world. Here's a patch.
Joe
Index: include/unistd.h
===================================================================
RCS file: /home/dcvs/src/include/unistd.h,v
retrieving revision 1.17
diff -u -r1.17 unistd.h
--- include/unistd.h 8 Jan 2007 17:19:26 -0000 1.17
+++ include/unistd.h 8 Jan 2007 19:52:06 -0000
@@ -166,11 +166,11 @@
int nice(int);
ssize_t pread(int, void *, size_t, off_t);
ssize_t __pread(int, void *, size_t, int, off_t);
-ssize_t __preadv(int, struct iovec *, u_int, int, off_t);
+ssize_t __preadv(int, const struct iovec *, u_int, int, off_t);
int profil(char *, size_t, vm_offset_t, int);
ssize_t pwrite(int, const void *, size_t, off_t);
ssize_t __pwrite(int, const void *, size_t, int, off_t);
-ssize_t __pwritev(int, struct iovec *, u_int, int, off_t);
+ssize_t __pwritev(int, const struct iovec *, u_int, int, off_t);
int rcmd(char **, int, const char *, const char *, const char *, int *);
int rcmd_af(char **, int, const char *, const char *, const char *, int *,
int);
Index: lib/libc/sys/preadv.c
===================================================================
RCS file: /home/dcvs/src/lib/libc/sys/preadv.c,v
retrieving revision 1.1
diff -u -r1.1 preadv.c
--- lib/libc/sys/preadv.c 13 Jun 2006 08:17:42 -0000 1.1
+++ lib/libc/sys/preadv.c 8 Jan 2007 19:41:23 -0000
@@ -39,7 +39,6 @@
#include <sys/uio.h>
#include <unistd.h>
-ssize_t __preadv(int, const struct iovec *, u_int, int, off_t);
/*
* The kernel __preadv includes a flags argument that allows the blocking
Index: lib/libc/sys/pwritev.c
===================================================================
RCS file: /home/dcvs/src/lib/libc/sys/pwritev.c,v
retrieving revision 1.1
diff -u -r1.1 pwritev.c
--- lib/libc/sys/pwritev.c 13 Jun 2006 08:17:42 -0000 1.1
+++ lib/libc/sys/pwritev.c 8 Jan 2007 19:52:24 -0000
@@ -39,8 +39,6 @@
#include <sys/uio.h>
#include <unistd.h>
-ssize_t __pwritev(int, const struct iovec *, u_int, int, off_t);
-
/*
* The kernel __pwritev includes a flags argument that allows the blocking
* and append mode(s) to be overridden.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]