From d6c3d56acd7e964bd52ab86c8f260cfb622c4795 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 15 Jan 2003 10:51:32 +0000 Subject: 2003-01-15 Ralf Corsepius * netinet/tcp_subr.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK, INP_LOCK, INP_UNLOCK macros. * netinet/udp_usrreq.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK, INP_LOCK, INP_UNLOCK macros. --- cpukit/libnetworking/ChangeLog | 9 ++++++++- cpukit/libnetworking/netinet/tcp_subr.c | 8 ++++---- cpukit/libnetworking/netinet/udp_usrreq.c | 8 ++++---- 3 files changed, 16 insertions(+), 9 deletions(-) (limited to 'cpukit/libnetworking') diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog index c32e4b3ab7..63ca432386 100644 --- a/cpukit/libnetworking/ChangeLog +++ b/cpukit/libnetworking/ChangeLog @@ -1,8 +1,15 @@ +2003-01-15 Ralf Corsepius + + * netinet/tcp_subr.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK, + INP_LOCK, INP_UNLOCK macros. + * netinet/udp_usrreq.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK, + INP_LOCK, INP_UNLOCK macros. + 2003-01-03 Jitendra Vegiraju * sys/queue.h: Fix alignment problem on ARM. -2002-11-26 Chris Johns +2003-01-03 Chris Johns * Makefile.am: Added sys/linker_set.h * kern/Makefile.am: Added kern_mib.c and kern_sysctl.c. diff --git a/cpukit/libnetworking/netinet/tcp_subr.c b/cpukit/libnetworking/netinet/tcp_subr.c index 7f97e20eed..5802ccc465 100644 --- a/cpukit/libnetworking/netinet/tcp_subr.c +++ b/cpukit/libnetworking/netinet/tcp_subr.c @@ -458,10 +458,10 @@ tcp_notify(inp, error) } #ifdef __rtems__ -#define INP_INFO_RLOCK -#define INP_INFO_RUNLOCK -#define INP_LOCK -#define INP_UNLOCK +#define INP_INFO_RLOCK(a) +#define INP_INFO_RUNLOCK(a) +#define INP_LOCK(a) +#define INP_UNLOCK(a) #endif static int diff --git a/cpukit/libnetworking/netinet/udp_usrreq.c b/cpukit/libnetworking/netinet/udp_usrreq.c index 8e28bddc25..c748d8a03b 100644 --- a/cpukit/libnetworking/netinet/udp_usrreq.c +++ b/cpukit/libnetworking/netinet/udp_usrreq.c @@ -456,10 +456,10 @@ release: } #ifdef __rtems__ -#define INP_INFO_RLOCK -#define INP_INFO_RUNLOCK -#define INP_LOCK -#define INP_UNLOCK +#define INP_INFO_RLOCK(a) +#define INP_INFO_RUNLOCK(a) +#define INP_LOCK(a) +#define INP_UNLOCK(a) #endif static int -- cgit v1.2.3