Changeset 1997 for trunk/src/kmk/variable.h
- Timestamp:
- Oct 29, 2008, 10:31:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/variable.h
r1993 r1997 54 54 #define EXP_COUNT_BITS 15 /* This gets all the bitfields into 32 bits */ 55 55 #define EXP_COUNT_MAX ((1<<EXP_COUNT_BITS)-1) 56 #ifdef CONFIG_WITH_VALUE_LENGTH 57 #define VAR_ALIGN_VALUE_ALLOC(len) ( ((len) + (unsigned int)31) & ~(unsigned int)31 ) 58 #endif 56 59 57 60 struct variable … … 65 68 #ifdef CONFIG_WITH_VALUE_LENGTH 66 69 int value_length; /* The length of the value, usually unused. */ 67 int value_alloc_len;/* The amount of memory we've actually allocated. */70 unsigned int value_alloc_len; /* The amount of memory we've actually allocated. */ 68 71 /* FIXME: make lengths unsigned! */ 69 72 #endif
Note:
See TracChangeset
for help on using the changeset viewer.