summaryrefslogtreecommitdiff
path: root/net/udpcast/files/patch-rateGovernor.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2009-04-28 21:27:54 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2009-04-28 21:27:54 +0000
commitb6bb8c3d3a17625aa826094130b3d84530b6dae4 (patch)
treef2de4a4d4b2f5c3fcbd1ee2ea6cce6d571bfb5f7 /net/udpcast/files/patch-rateGovernor.c
parent- Fix PLIST (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_2_0'.release/7.2.0
Diffstat (limited to 'net/udpcast/files/patch-rateGovernor.c')
-rw-r--r--net/udpcast/files/patch-rateGovernor.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/net/udpcast/files/patch-rateGovernor.c b/net/udpcast/files/patch-rateGovernor.c
deleted file mode 100644
index 14de493ebb02..000000000000
--- a/net/udpcast/files/patch-rateGovernor.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- rateGovernor.c.orig 2008-09-20 09:07:29.000000000 +0200
-+++ rateGovernor.c 2009-02-09 08:20:17.000000000 +0100
-@@ -23,6 +23,25 @@
- #define DL_RATE_GOVERNOR
- #endif
-
-+
-+#ifdef __FreeBSD__
-+char *
-+strndup(const char *str, size_t n)
-+{
-+ size_t len;
-+ char *copy;
-+
-+ for (len = 0; len < n && str[len]; len++)
-+ continue;
-+
-+ if ((copy = malloc(len + 1)) == NULL)
-+ return (NULL);
-+ memcpy(copy, str, len);
-+ copy[len] = '\0';
-+ return (copy);
-+}
-+#endif
-+
- void *rgInitGovernor(struct net_config *cfg, struct rateGovernor_t *gov)
- {
- if(cfg->nrGovernors == MAX_GOVERNORS) {