Module Name:    src
Committed By:   cegger
Date:           Wed Aug 19 13:07:59 UTC 2009

Modified Files:
        src/sys/dist/ipf/netinet: ip_compat.h

Log Message:
build fix: caddr_t -> void *


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dist/ipf/netinet/ip_compat.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dist/ipf/netinet/ip_compat.h
diff -u src/sys/dist/ipf/netinet/ip_compat.h:1.25 src/sys/dist/ipf/netinet/ip_compat.h:1.26
--- src/sys/dist/ipf/netinet/ip_compat.h:1.25	Wed Aug 19 08:36:10 2009
+++ src/sys/dist/ipf/netinet/ip_compat.h	Wed Aug 19 13:07:59 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ip_compat.h,v 1.25 2009/08/19 08:36:10 darrenr Exp $	*/
+/*	$NetBSD: ip_compat.h,v 1.26 2009/08/19 13:07:59 cegger Exp $	*/
 
 /*
  * Copyright (C) 1993-2001, 2003 by Darren Reed.
@@ -1745,7 +1745,7 @@
 #  define	KMALLOCS(a, b, c)	(a) = (b)malloc((c), _M_IPF, M_NOWAIT)
 #  define	KFREE(x)	free((x), _M_IPF)
 #  define	KFREES(x,s)	free((x), _M_IPF)
-#  define	UIOMOVE(a,b,c,d)	uiomove((caddr_t)a,b,d)
+#  define	UIOMOVE(a,b,c,d)	uiomove((void *)a,b,d)
 #  define	SLEEP(id, n)	tsleep((id), PPAUSE|PCATCH, n, 0)
 #  define	WAKEUP(id,x)	wakeup(id+x)
 #  if !defined(POLLWAKEUP)

Reply via email to