summaryrefslogtreecommitdiffstats
path: root/loader/wine/ldt.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-11 14:33:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-11 14:33:57 +0000
commit0a3901e1aebd64e78ed6033ac90fdaffd77ce68e (patch)
treef8bf73cedd6cc89be679481aeca50dac14129c70 /loader/wine/ldt.h
parent19f5552dd17d66f305d6f70c0cd35e4abe373d8b (diff)
downloadmpv-0a3901e1aebd64e78ed6033ac90fdaffd77ce68e.tar.bz2
mpv-0a3901e1aebd64e78ed6033ac90fdaffd77ce68e.tar.xz
Remove extern "C" declarations from loader code.
Our loader code is not a general-purpose library and not used from C++. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30538 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/wine/ldt.h')
-rw-r--r--loader/wine/ldt.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/loader/wine/ldt.h b/loader/wine/ldt.h
index e3f511b062..e607085f33 100644
--- a/loader/wine/ldt.h
+++ b/loader/wine/ldt.h
@@ -26,10 +26,6 @@ typedef struct
int limit_in_pages; /* is the limit in pages or bytes? */
enum seg_type type; /* segment type */
} ldt_entry;
-#ifdef __cplusplus
-extern "C"
-{
-#endif
void LDT_BytesToEntry( const unsigned long *buffer, ldt_entry *content );
void LDT_EntryToBytes( unsigned long *buffer, const ldt_entry *content );
int LDT_GetEntry( int entry, ldt_entry *content );
@@ -92,8 +88,5 @@ extern unsigned char ldt_flags_copy[LDT_SIZE];
(!((sel) & 4) || (SELECTOR_TO_ENTRY(sel) < FIRST_LDT_ENTRY_TO_ALLOC))
#define IS_SELECTOR_32BIT(sel) \
(IS_SELECTOR_SYSTEM(sel) || (GET_SEL_FLAGS(sel) & LDT_FLAGS_32BIT))
-#ifdef __cplusplus
-}
-#endif
#endif /* MPLAYER_LDT_H */