u_intXX_t is silly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2006-09-18 22:02:04 +00:00
parent 998ac5cab1
commit 31d25ac6f3
3 changed files with 18 additions and 18 deletions

View File

@@ -333,17 +333,17 @@ struct oprmode {
struct ast_option_header {
/* Always keep in network byte order */
#if __BYTE_ORDER == __BIG_ENDIAN
u_int16_t flag:3;
u_int16_t option:13;
uint16_t flag:3;
uint16_t option:13;
#else
#if __BYTE_ORDER == __LITTLE_ENDIAN
u_int16_t option:13;
u_int16_t flag:3;
uint16_t option:13;
uint16_t flag:3;
#else
#error Byte order not defined
#endif
#endif
u_int8_t data[0];
uint8_t data[0];
};
/*! \brief Requests a frame to be allocated