[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
- [PATCH 01/08] i386/i386at/kd.c (kdintr): quiet the GCC warning about signed overflow, Marin Ramesa, 2013/12/10
- [PATCH 03/08] i386/i386/db_trace.c (db_i386_stack_trace): remove unnecessary cast, Marin Ramesa, 2013/12/10
- [PATCH 02/08] i386/i386/db_trace.c: remove forward declaration, Marin Ramesa, 2013/12/10
- [PATCH 05/08] i386/i386at/kd.c: remove forward declarations, Marin Ramesa, 2013/12/10
- [PATCH 04/08] i386/i386/ldt.c: remove forward declaration,
Marin Ramesa <=
- [PATCH 06/08] i386/i386at/kd.c (kdmmap): remove unnecessary cast, Marin Ramesa, 2013/12/10
- [PATCH 07/08] i386/i386at/kd.c (kdinit): remove forward declaration, Marin Ramesa, 2013/12/10
- [PATCH 08/08] i386/i386at/kd_mouse.c (kd_mouse_open): remove forward declaration, Marin Ramesa, 2013/12/10