Date: Wed, 11 Aug 2010 23:09:04 GMT From: Ana Kukec <anchie@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 182280 for review Message-ID: <201008112309.o7BN94bv044885@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@182280?ac=10 Change 182280 by anchie@anchie_malimis on 2010/08/11 23:09:01 Cleanup. Affected files ... .. //depot/projects/soc2009/anchie_send/send_0.2/sendd/net.c#32 edit .. //depot/projects/soc2009/anchie_send/send_0.2/sendd/os-freebsd/snd_freebsd.c#8 edit .. //depot/projects/soc2009/anchie_send/send_0.2/sendd/sendd.c#14 edit .. //depot/projects/soc2009/anchie_send/send_0.2/sendd/sendd_local.h#6 edit Differences ... ==== //depot/projects/soc2009/anchie_send/send_0.2/sendd/net.c#32 (text+ko) ==== @@ -32,7 +32,6 @@ #include <sys/param.h> #include <sys/types.h> -#include <sys/mbuf.h> #include <sys/socket.h> #include <arpa/inet.h> ==== //depot/projects/soc2009/anchie_send/send_0.2/sendd/os-freebsd/snd_freebsd.c#8 (text+ko) ==== @@ -41,6 +41,7 @@ #include <errno.h> #include <unistd.h> +#include "config.h" #include "snd_freebsd.h" #include "../dbg.h" #include "../os_specific.h" @@ -48,6 +49,7 @@ #include "../snd_proto.h" #include <applog.h> +#include <list.h> #include <sbuff.h> static int sndsock = -1; ==== //depot/projects/soc2009/anchie_send/send_0.2/sendd/sendd.c#14 (text+ko) ==== @@ -169,10 +169,6 @@ { int r, c, icmps, ctlfd, do_daemon = 1; char *cfile = SNDD_CONF_FILE; -#ifdef SND_OS_freebsd - int snds; - icmps = snds = (int *) malloc(sizeof(int)); -#endif #ifdef DEBUG if (applog_open(L_STDERR, SENDD_NAME) < 0) { ==== //depot/projects/soc2009/anchie_send/send_0.2/sendd/sendd_local.h#6 (text+ko) ==== @@ -130,11 +130,7 @@ /* net.c */ extern void snd_icmp_sock_read(void); -#ifdef SND_OS_freebsd -extern int snd_net_init(int *, int *); -#else extern int snd_net_init(void); -#endif extern struct sbuff *snd_get_buf(void); extern void snd_put_buf(struct sbuff *); extern int snd_send_icmp(struct sbuff *, struct sockaddr_in6 *, int);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008112309.o7BN94bv044885>