git: 5b3368322b0e - main - sys/extaddr.h: don't declare struct iovec
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Nov 2025 12:13:51 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=5b3368322b0e0f04dc0e5cc6154ddc5950b25d9b
commit 5b3368322b0e0f04dc0e5cc6154ddc5950b25d9b
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2025-11-21 12:13:00 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2025-11-21 12:13:00 +0000
sys/extaddr.h: don't declare struct iovec
The code never uses it so there's no need to forward declare it.
Sponsored by: Innovate UK
---
sys/sys/extattr.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/sys/extattr.h b/sys/sys/extattr.h
index a16ef238656f..4aabb4af667b 100644
--- a/sys/sys/extattr.h
+++ b/sys/sys/extattr.h
@@ -71,8 +71,6 @@ int extattr_check_cred(struct vnode *vp, int attrnamespace,
#else
#include <sys/cdefs.h>
-struct iovec;
-
__BEGIN_DECLS
int extattrctl(const char *_path, int _cmd, const char *_filename,
int _attrnamespace, const char *_attrname);