summaryrefslogtreecommitdiffstats
path: root/freebsd/lib
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib')
-rw-r--r--freebsd/lib/libc/db/mpool/mpool-compat.c1
-rw-r--r--freebsd/lib/libc/net/getnameinfo.c1
-rw-r--r--freebsd/lib/libmemstat/memstat.c1
3 files changed, 1 insertions, 2 deletions
diff --git a/freebsd/lib/libc/db/mpool/mpool-compat.c b/freebsd/lib/libc/db/mpool/mpool-compat.c
index 37bbdd79..44b06285 100644
--- a/freebsd/lib/libc/db/mpool/mpool-compat.c
+++ b/freebsd/lib/libc/db/mpool/mpool-compat.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Xin LI <delphij@FreeBSD.org>
- * All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/freebsd/lib/libc/net/getnameinfo.c b/freebsd/lib/libc/net/getnameinfo.c
index d553ee5c..219e149d 100644
--- a/freebsd/lib/libc/net/getnameinfo.c
+++ b/freebsd/lib/libc/net/getnameinfo.c
@@ -483,7 +483,6 @@ getnameinfo_link(const struct afd *afd,
* IFT_OTHER (netinet/ip_ipip.c)
*/
/* default below is believed correct for all these. */
- case IFT_ARCNET:
case IFT_ETHER:
case IFT_FDDI:
case IFT_HIPPI:
diff --git a/freebsd/lib/libmemstat/memstat.c b/freebsd/lib/libmemstat/memstat.c
index 60da9b00..d264829e 100644
--- a/freebsd/lib/libmemstat/memstat.c
+++ b/freebsd/lib/libmemstat/memstat.c
@@ -31,6 +31,7 @@
*/
#include <sys/param.h>
+#include <sys/queue.h>
#include <sys/sysctl.h>
#include <err.h>