forked from KolibriOS/kolibrios
- Removed non existing functions from math.h.
- Added "sys_change_window" function to kos32sys1.h. - Installed "pragma pack" for the structure in kolibrisys.h. git-svn-id: svn://kolibrios.org@8403 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -22,8 +22,8 @@ typedef unsigned short word;
|
||||
|
||||
typedef unsigned int fpos_t;
|
||||
typedef unsigned int size_t;
|
||||
|
||||
typedef struct process_table_entry{
|
||||
#pragma pack(push,1)
|
||||
struct process_table_entry{
|
||||
int cpu_usage; //+0
|
||||
int window_pos_info; //+4
|
||||
short int reserved1; //+8
|
||||
@@ -43,7 +43,8 @@ typedef struct process_table_entry{
|
||||
int clientheight; //+66
|
||||
unsigned char window_state;//+70
|
||||
char reserved3[1024-71]; //+71
|
||||
}__attribute__((packed));
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
//-----------------------------------------------------------------------------------
|
||||
//------------------------KolibriOS system acces to files----------------------------
|
||||
|
Reference in New Issue
Block a user