Mercurial > mplayer.hg
annotate loader/ldt_keeper.h @ 29674:10982a0eac1f
Change type to avoid void * arithmetic.
author | reimar |
---|---|
date | Fri, 25 Sep 2009 09:44:41 +0000 |
parents | a8ea87c71d18 |
children | 26f673ba0675 |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_LDT_KEEPER_H |
2 #define MPLAYER_LDT_KEEPER_H | |
2067 | 3 |
4 #ifdef __cplusplus | |
5 extern "C" | |
6 { | |
7 #endif | |
7386 | 8 |
9 typedef struct { | |
10 void* fs_seg; | |
11 char* prev_struct; | |
12 } ldt_fs_t; | |
13 | |
2067 | 14 void Setup_FS_Segment(void); |
7386 | 15 ldt_fs_t* Setup_LDT_Keeper(void); |
16 void Restore_LDT_Keeper(ldt_fs_t* ldt_fs); | |
2067 | 17 #ifdef __cplusplus |
18 } | |
19 #endif | |
20 | |
26045 | 21 #endif /* MPLAYER_LDT_KEEPER_H */ |