summaryrefslogtreecommitdiff
path: root/net/bsdproxy/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/bsdproxy/files')
-rw-r--r--net/bsdproxy/files/patch-accept_client.c13
-rw-r--r--net/bsdproxy/files/patch-proxy.c13
-rw-r--r--net/bsdproxy/files/patch-proxy_deinit.c12
-rw-r--r--net/bsdproxy/files/patch-proxy_init.c11
-rw-r--r--net/bsdproxy/files/patch-proxy_protos.h12
-rw-r--r--net/bsdproxy/files/patch-proxy_util.c12
-rw-r--r--net/bsdproxy/files/patch-read_data.c31
-rw-r--r--net/bsdproxy/files/patch-write_data.c12
8 files changed, 0 insertions, 116 deletions
diff --git a/net/bsdproxy/files/patch-accept_client.c b/net/bsdproxy/files/patch-accept_client.c
deleted file mode 100644
index ea93c2b79d2f..000000000000
--- a/net/bsdproxy/files/patch-accept_client.c
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -urN -x .svn ../../branches/vendor/bsdproxy/accept_client.c ./accept_client.c
---- ../../branches/vendor/bsdproxy/accept_client.c 2008-06-08 22:30:53.000000000 +0300
-+++ ./accept_client.c 2008-06-08 22:53:22.000000000 +0300
-@@ -14,9 +14,6 @@
- #include <errno.h>
- #include "proxy_protos.h"
-
--extern int errno;
--
--
- void
- accept_client ( struct kevent *ke, struct mdata *md )
- {
diff --git a/net/bsdproxy/files/patch-proxy.c b/net/bsdproxy/files/patch-proxy.c
deleted file mode 100644
index 54ef3df887bb..000000000000
--- a/net/bsdproxy/files/patch-proxy.c
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -urN -x .svn ../../branches/vendor/bsdproxy/proxy.c ./proxy.c
---- ../../branches/vendor/bsdproxy/proxy.c 2008-06-08 22:30:53.000000000 +0300
-+++ ./proxy.c 2008-06-08 22:54:00.000000000 +0300
-@@ -16,9 +16,6 @@
- #include "config.h"
- #include "proxy_protos.h"
-
--extern char *optarg;
--extern int optind;
--
- static int sig;
-
- /* usage() */
diff --git a/net/bsdproxy/files/patch-proxy_deinit.c b/net/bsdproxy/files/patch-proxy_deinit.c
deleted file mode 100644
index 38c0a210f78c..000000000000
--- a/net/bsdproxy/files/patch-proxy_deinit.c
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN -x .svn ../../branches/vendor/bsdproxy/proxy_deinit.c ./proxy_deinit.c
---- ../../branches/vendor/bsdproxy/proxy_deinit.c 2008-06-08 22:30:53.000000000 +0300
-+++ ./proxy_deinit.c 2008-06-08 22:35:09.000000000 +0300
-@@ -21,7 +21,7 @@
-
- if ( md ) {
-
-- logmsg(md,"deinit_mdata(%p)",md);
-+ log_msg(md,"deinit_mdata(%p)",md);
-
- if ( md->r ) {
-
diff --git a/net/bsdproxy/files/patch-proxy_init.c b/net/bsdproxy/files/patch-proxy_init.c
deleted file mode 100644
index 7824d1ed63ce..000000000000
--- a/net/bsdproxy/files/patch-proxy_init.c
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN -x .svn ../../branches/vendor/bsdproxy/proxy_init.c ./proxy_init.c
---- ../../branches/vendor/bsdproxy/proxy_init.c 2008-06-08 22:30:53.000000000 +0300
-+++ ./proxy_init.c 2008-06-08 23:01:32.000000000 +0300
-@@ -10,6 +10,7 @@
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <netdb.h>
-+#include <string.h>
- #include <unistd.h>
- #include <time.h>
- #include "config.h"
diff --git a/net/bsdproxy/files/patch-proxy_protos.h b/net/bsdproxy/files/patch-proxy_protos.h
deleted file mode 100644
index c0238aff159a..000000000000
--- a/net/bsdproxy/files/patch-proxy_protos.h
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN -x .svn ../../branches/vendor/bsdproxy/proxy_protos.h ./proxy_protos.h
---- ../../branches/vendor/bsdproxy/proxy_protos.h 2008-06-08 22:30:53.000000000 +0300
-+++ ./proxy_protos.h 2008-06-08 22:55:52.000000000 +0300
-@@ -52,7 +52,7 @@
-
- /* proxy_util.c */
-
--void log_msg ( struct mdata *md, char *fmt, ... );
-+void log_msg ( struct mdata *md, const char *fmt, ... );
- void print_stats ( struct mdata * );
- float diff_timeval ( struct timeval *t_start, struct timeval *t_finish );
-
diff --git a/net/bsdproxy/files/patch-proxy_util.c b/net/bsdproxy/files/patch-proxy_util.c
deleted file mode 100644
index 6e368b3d5c06..000000000000
--- a/net/bsdproxy/files/patch-proxy_util.c
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN -x .svn ../../branches/vendor/bsdproxy/proxy_util.c ./proxy_util.c
---- ../../branches/vendor/bsdproxy/proxy_util.c 2008-06-08 22:30:53.000000000 +0300
-+++ ./proxy_util.c 2008-06-08 23:00:09.000000000 +0300
-@@ -16,7 +16,7 @@
- */
-
- void
--log_msg ( struct mdata *md, char *fmt, ... )
-+log_msg ( struct mdata *md, const char *fmt, ... )
- {
- va_list ap;
- char bt[256];
diff --git a/net/bsdproxy/files/patch-read_data.c b/net/bsdproxy/files/patch-read_data.c
deleted file mode 100644
index 074a5a5f8652..000000000000
--- a/net/bsdproxy/files/patch-read_data.c
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -urN -x .svn ../../branches/vendor/bsdproxy/read_data.c ./read_data.c
---- ../../branches/vendor/bsdproxy/read_data.c 2008-06-08 22:30:53.000000000 +0300
-+++ ./read_data.c 2008-06-08 23:01:22.000000000 +0300
-@@ -12,9 +12,6 @@
- #include <sys/socket.h>
- #include "proxy_protos.h"
-
--extern int errno;
--
--
- void
- read_data ( struct kevent *ke, struct mdata *md )
- {
-@@ -27,7 +24,7 @@
- struct kevent sk;
- struct sockaddr_in sa;
- socklen_t sl;
-- char *fr[2] = { "CLIENT", "SERVER" };
-+ const char *fr[2] = { "CLIENT", "SERVER" };
-
- /*
- if this is the first data we're reading over this connection,
-@@ -54,7 +51,7 @@
- if it fails with errno = ENOTCONN, we're not connected yet.
- */
-
-- fd = (from == CLIENT) ? r : ke->ident;
-+ fd = (from == CLIENT) ? r : (int)ke->ident;
-
- if ( md->r[ke->ident].bytes_read == 0 &&
- md->r[fd].status == FD_CLOSE ) {
diff --git a/net/bsdproxy/files/patch-write_data.c b/net/bsdproxy/files/patch-write_data.c
deleted file mode 100644
index 5ba4212d247d..000000000000
--- a/net/bsdproxy/files/patch-write_data.c
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN -x .svn ../../branches/vendor/bsdproxy/write_data.c ./write_data.c
---- ../../branches/vendor/bsdproxy/write_data.c 2008-06-08 22:30:53.000000000 +0300
-+++ ./write_data.c 2008-06-08 23:01:18.000000000 +0300
-@@ -19,7 +19,7 @@
- int rm = 0;
- int qe = 0;
- GSList *l;
-- char *ct[2] = { "CLIENT", "SERVER" };
-+ const char *ct[2] = { "CLIENT", "SERVER" };
-
- /*
- if this is the first data we're reading over this connection,