Update of /cvsroot/linux-atm/linux-atm/src/maint
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv22549/src/maint
Modified Files:
Tag: V2_5_3
atmtcp.c hediag.c
Log Message:
integrate 000-debian_16.patch patch from openwrt
socket int to socket_t conversion and some warning cleanups.
also corrects some errors in the man page macros.
Index: atmtcp.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/maint/atmtcp.c,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -C2 -d -r1.3 -r1.3.4.1
*** atmtcp.c 1 Jan 2008 00:14:51 -0000 1.3
--- atmtcp.c 24 Jan 2011 16:21:39 -0000 1.3.4.1
***************
*** 818,822 ****
else if (!strcmp(ARG,"listen") ||
(do_background = !strcmp(ARG,"listen-bg"))) {
! int fd,port,addr_len;
int *fd2 = alloc_t(int);
--- 818,823 ----
else if (!strcmp(ARG,"listen") ||
(do_background = !strcmp(ARG,"listen-bg"))) {
! int fd,port;
! socklen_t addr_len;
int *fd2 = alloc_t(int);
Index: hediag.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/maint/hediag.c,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -C2 -d -r1.4 -r1.4.4.1
*** hediag.c 30 Nov 2009 16:56:52 -0000 1.4
--- hediag.c 24 Jan 2011 16:21:39 -0000 1.4.4.1
***************
*** 2,5 ****
--- 2,6 ----
#include <stdlib.h>
#include <unistd.h>
+ #include <string.h>
#include <sys/ioctl.h>
#include <sys/types.h>
|