Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ipf/dist kill caddr_t



details:   https://anonhg.NetBSD.org/src/rev/a188658dcf41
branches:  trunk
changeset: 778374:a188658dcf41
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 23 21:28:57 2012 +0000

description:
kill caddr_t

diffstat:

 external/bsd/ipf/dist/ip_fil.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a8f03baf9d0f -r a188658dcf41 external/bsd/ipf/dist/ip_fil.c
--- a/external/bsd/ipf/dist/ip_fil.c    Fri Mar 23 21:19:53 2012 +0000
+++ b/external/bsd/ipf/dist/ip_fil.c    Fri Mar 23 21:28:57 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_fil.c,v 1.1.1.1 2012/03/23 21:19:54 christos Exp $  */
+/*     $NetBSD: ip_fil.c,v 1.2 2012/03/23 21:28:57 christos Exp $      */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -69,7 +69,7 @@
        ipf_main_softc_t *softc;
        int dev;
        ioctlcmd_t cmd;
-       caddr_t data;
+       void *data;
        int mode;
 {
        int error = 0, unit = 0, uid;
@@ -514,7 +514,7 @@
 m_copydata(m, off, len, cp)
        mb_t *m;
        int off, len;
-       caddr_t cp;
+       void *cp;
 {
        bcopy((char *)m + off, cp, len);
 }
@@ -522,7 +522,7 @@
 
 int
 ipfuiomove(buf, len, rwflag, uio)
-       caddr_t buf;
+       void *buf;
        int len, rwflag;
        struct uio *uio;
 {



Home | Main Index | Thread Index | Old Index