bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 04/08] i386/i386/ldt.c: remove forward declaration


From: Marin Ramesa
Subject: [PATCH 04/08] i386/i386/ldt.c: remove forward declaration
Date: Tue, 10 Dec 2013 19:19:59 +0100

* i386/i386/ldt.c (syscall): Remove forward declaration.
* i386/i386/ldt.h (syscall): Add prototype. 

---
 i386/i386/ldt.c | 2 --
 i386/i386/ldt.h | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/i386/i386/ldt.c b/i386/i386/ldt.c
index 43b9efb..069b496 100644
--- a/i386/i386/ldt.c
+++ b/i386/i386/ldt.c
@@ -37,8 +37,6 @@
 #include "gdt.h"
 #include "ldt.h"
 
-extern int syscall();
-
 #ifdef MACH_PV_DESCRIPTORS
 /* It is actually defined in xen_boothdr.S */
 extern
diff --git a/i386/i386/ldt.h b/i386/i386/ldt.h
index f196c74..88fae35 100644
--- a/i386/i386/ldt.h
+++ b/i386/i386/ldt.h
@@ -63,6 +63,8 @@ extern struct real_descriptor ldt[LDTSZ];
 
 void ldt_init(void);
 
+extern int syscall(void);
+
 #endif /* !__ASSEMBLER__ */
 
 #endif /* _I386_LDT_ */
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]