Changeset 1327 for trunk/lang
- Timestamp:
- Mar 14, 2009, 5:01:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/tcl/src/RpSysinfo.c
r1257 r1327 15 15 #include <tcl.h> 16 16 #include <stdlib.h> 17 #include <stddef.h> 17 18 #include <string.h> 18 19 #include <sys/sysinfo.h> … … 34 35 35 36 static struct rpSysinfoList { 36 char *name; /* name of this system parameter */ 37 int type; /* parameter type (long, unsigned long, etc.) */ 38 int offset; /* offset into sysinfo struct */ 37 const char *name; /* Name of this system parameter */ 38 int type; /* Parameter type (long, unsigned long, 39 * etc.) */ 40 int offset; /* Offset into sysinfo struct */ 39 41 } RpSysinfoList [] = { 40 42 {"freeram", RP_SLOT_ULONG, Offset(struct sysinfo, freeram)},
Note: See TracChangeset
for help on using the changeset viewer.