git: bec0a5dca76c - main - libalias: Remove LibAliasCheckNewLink
Lutz Donnerhacke
donner at FreeBSD.org
Mon May 31 11:05:13 UTC 2021
The branch main has been updated by donner:
URL: https://cgit.FreeBSD.org/src/commit/?id=bec0a5dca76c783d374ba9e9417208efde86b15f
commit bec0a5dca76c783d374ba9e9417208efde86b15f
Author: Lutz Donnerhacke <donner at FreeBSD.org>
AuthorDate: 2021-05-31 11:02:51 +0000
Commit: Lutz Donnerhacke <donner at FreeBSD.org>
CommitDate: 2021-05-31 11:04:11 +0000
libalias: Remove LibAliasCheckNewLink
Finally drop the function in 14-CURRENT.
Discussed with: kp
Differential Revision: https://reviews.freebsd.org/D30275
---
sys/netinet/libalias/HISTORY | 3 +++
sys/netinet/libalias/alias.h | 3 ---
sys/netinet/libalias/alias_db.c | 8 --------
3 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/sys/netinet/libalias/HISTORY b/sys/netinet/libalias/HISTORY
index c5bca59cac1f..ee18c7f70d01 100644
--- a/sys/netinet/libalias/HISTORY
+++ b/sys/netinet/libalias/HISTORY
@@ -143,3 +143,6 @@ Version 3.1: May, 2000 (Erik Salander, erik at whistle.com)
Version 3.2: July, 2000 (Erik Salander, erik at whistle.com and
Junichi Satoh, junichi at junichi.org)
- Added support for streaming media (RTSP and PNA) aliasing.
+
+Version 3.3: May 2020 (donner)
+ - Dropped LibAliasCheckNewLink
diff --git a/sys/netinet/libalias/alias.h b/sys/netinet/libalias/alias.h
index 558a750b4fd8..58a190408210 100644
--- a/sys/netinet/libalias/alias.h
+++ b/sys/netinet/libalias/alias.h
@@ -123,9 +123,6 @@ int LibAliasSaveFragment(struct libalias *, void *_ptr);
unsigned short LibAliasInternetChecksum(struct libalias *, unsigned short *_ptr, int _nbytes);
void LibAliasSetTarget(struct libalias *, struct in_addr _target_addr);
-/* never used and never worked, to be removed in FreeBSD 14 */
-int LibAliasCheckNewLink(struct libalias *);
-
/* Transparent proxying routines. */
int LibAliasProxyRule(struct libalias *, const char *_cmd);
diff --git a/sys/netinet/libalias/alias_db.c b/sys/netinet/libalias/alias_db.c
index 0273cc84773d..d7027f4e25c2 100644
--- a/sys/netinet/libalias/alias_db.c
+++ b/sys/netinet/libalias/alias_db.c
@@ -2540,14 +2540,6 @@ getout:
return (res);
}
-/* never used and never worked, to be removed in FreeBSD 14 */
-int
-LibAliasCheckNewLink(struct libalias *la)
-{
- (void)la;
- return (0);
-}
-
#ifndef NO_FW_PUNCH
/*****************
More information about the dev-commits-src-main
mailing list