Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dist/ipf/netinet build fix: caddr_t -> void *
details: https://anonhg.NetBSD.org/src/rev/1fb38bced576
branches: trunk
changeset: 746753:1fb38bced576
user: cegger <cegger%NetBSD.org@localhost>
date: Wed Aug 19 13:07:59 2009 +0000
description:
build fix: caddr_t -> void *
diffstat:
sys/dist/ipf/netinet/ip_compat.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 255377ec4906 -r 1fb38bced576 sys/dist/ipf/netinet/ip_compat.h
--- a/sys/dist/ipf/netinet/ip_compat.h Wed Aug 19 12:49:24 2009 +0000
+++ b/sys/dist/ipf/netinet/ip_compat.h Wed Aug 19 13:07:59 2009 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index