timens: Add struct seq_file forward declaration
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 May 2025 08:30:11 +0000 (16:30 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 4 Jun 2025 09:27:11 +0000 (11:27 +0200)
Add forward declaration of struct seq_file before using it in a
function prototype.

Fixes: 04a8682a71be ("fs/proc: Introduce /proc/pid/timens_offsets")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andrei Vagin <avagin@gmail.com>
Link: https://lore.kernel.org/all/aDlskzKIAULMlwPj@gondor.apana.org.au
include/linux/time_namespace.h

index 0b8b32bf0655109d368c5dacc23ca5efcbb5aa80..bb2c52f4fc9497881a436b4a0eb4773864faa2bc 100644 (file)
@@ -12,6 +12,7 @@
 struct user_namespace;
 extern struct user_namespace init_user_ns;
 
+struct seq_file;
 struct vm_area_struct;
 
 struct timens_offsets {