[PATCH] um: Remove the repeated declaration

Shaokun Zhang zhangshaokun at hisilicon.com
Sun May 30 20:17:07 PDT 2021


Function 'os_flush_stdout' is declared twice, so remove the
repeated declaration.

Cc: Jeff Dike <jdike at addtoit.com>
Cc: Richard Weinberger <richard at nod.at>
Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>
---
 arch/um/include/shared/os.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h
index 13d86f94cf0f..a3f213f729b2 100644
--- a/arch/um/include/shared/os.h
+++ b/arch/um/include/shared/os.h
@@ -211,7 +211,6 @@ extern int os_protect_memory(void *addr, unsigned long len,
 extern int os_unmap_memory(void *addr, int len);
 extern int os_drop_memory(void *addr, int length);
 extern int can_drop_memory(void);
-extern void os_flush_stdout(void);
 extern int os_mincore(void *addr, unsigned long len);
 
 /* execvp.c */
-- 
2.7.4




More information about the linux-um mailing list