summaryrefslogtreecommitdiff
path: root/net/udpcast/files/patch-rateGovernor.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2011-02-11 03:06:03 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2011-02-11 03:06:03 +0000
commitb36e665e56175a7588102bec06e2ac62ffff3b5e (patch)
treed8c04c2dd9d515238e6ff20e97948fc22f7f82be /net/udpcast/files/patch-rateGovernor.c
parent- Update to 1.16.2 (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_8_2_0'.release/8.2.0
Notes
Notes: svn path=/head/; revision=268906 svn path=/tags/RELEASE_8_2_0/; revision=268908; tag=release/8.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) {