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 7f3f1e3af5e39c6745c52cf4cce914664e16f93e 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 26e7b5cf5..58bf98f9c 100644
  10. --- a/include/sys/zfs_context.h
  11. +++ b/include/sys/zfs_context.h
  12. @@ -376,7 +376,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.49.0