logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0005-Use-forward-declaration-instead-of-empty-struct.patch (708B)


  1. From f497d55d50cfb278a802da24e5c96682d38fa244 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Sat, 21 Jan 2023 17:15:47 -0800
  4. Subject: [PATCH] Use forward declaration instead of empty struct
  5. ---
  6. include/sys/zfs_context.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
  9. index 998eaa5dd..6d3e12002 100644
  10. --- a/include/sys/zfs_context.h
  11. +++ b/include/sys/zfs_context.h
  12. @@ -382,7 +382,7 @@ typedef struct procfs_list {
  13. } procfs_list_t;
  14. #ifndef __cplusplus
  15. -struct seq_file { };
  16. +struct seq_file;
  17. void seq_printf(struct seq_file *m, const char *fmt, ...);
  18. typedef struct procfs_list_node {
  19. --
  20. 2.44.0