mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
reorganizing3
This commit is contained in:
22
src/uptime.c
22
src/uptime.c
@@ -38,11 +38,11 @@ typedef struct
|
||||
int regnr;
|
||||
int pid;
|
||||
int type;
|
||||
ulong cookie;
|
||||
ulong uptime;
|
||||
ulong ontime;
|
||||
ulong now;
|
||||
ulong sysup;
|
||||
uint32_t cookie;
|
||||
uint32_t uptime;
|
||||
uint32_t ontime;
|
||||
uint32_t now;
|
||||
uint32_t sysup;
|
||||
|
||||
} PackStub;
|
||||
|
||||
@@ -51,11 +51,11 @@ typedef struct
|
||||
int regnr;
|
||||
int pid;
|
||||
int type;
|
||||
ulong cookie;
|
||||
ulong uptime;
|
||||
ulong ontime;
|
||||
ulong now;
|
||||
ulong sysup;
|
||||
uint32_t cookie;
|
||||
uint32_t uptime;
|
||||
uint32_t ontime;
|
||||
uint32_t now;
|
||||
uint32_t sysup;
|
||||
char string[512];
|
||||
|
||||
} PackUp;
|
||||
@@ -225,7 +225,7 @@ void process_uptime(void)
|
||||
struct
|
||||
{
|
||||
int regnr;
|
||||
ulong cookie;
|
||||
uint32_t cookie;
|
||||
|
||||
} regPack;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user