summaryrefslogtreecommitdiff
path: root/pkg/zfs/patch/0006-Use-forward-declaration-instead-of-empty-struct.patch
blob: 99c718278fb2e03a3afa9078c694780511da3903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 50878832d41ef03d61f5db2dc7a89039b2ba5889 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sat, 21 Jan 2023 17:15:47 -0800
Subject: [PATCH] Use forward declaration instead of empty struct

---
 include/sys/zfs_context.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
index a6ff94317..42384d83a 100644
--- a/include/sys/zfs_context.h
+++ b/include/sys/zfs_context.h
@@ -380,7 +380,7 @@ typedef struct procfs_list {
 } procfs_list_t;
 
 #ifndef __cplusplus
-struct seq_file { };
+struct seq_file;
 void seq_printf(struct seq_file *m, const char *fmt, ...);
 
 typedef struct procfs_list_node {
-- 
2.37.3