Changeset 533f89f in rtems
- Timestamp:
- 09/18/96 20:48:56 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 857c52f
- Parents:
- 2069773
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/headers/coremsg.h
r2069773 r533f89f 40 40 * The following defines the data types needed to manipulate 41 41 * the contents of message buffers. 42 * Since msgs are variable length we just make a ptr to 1. 42 * 43 * NOTE: The buffer field is normally longer than a single unsigned32. 44 * but since messages are variable length we just make a ptr to 1. 43 45 */ 44 46 45 47 typedef struct { 46 48 unsigned32 size; 47 48 #ifndef __cplusplus 49 /* NOTE: [0] is gcc specific, 50 * but specifically disallowed by ANSI STD C++ 51 * g++ warns about it, so we #ifdef it out to 52 * get rid of warnings when compiled by g++. 53 */ 54 unsigned32 buffer[0]; 55 #endif 56 49 unsigned32 buffer[1]; 57 50 } CORE_message_queue_Buffer; 58 51 -
c/src/exec/score/include/rtems/score/coremsg.h
r2069773 r533f89f 40 40 * The following defines the data types needed to manipulate 41 41 * the contents of message buffers. 42 * Since msgs are variable length we just make a ptr to 1. 42 * 43 * NOTE: The buffer field is normally longer than a single unsigned32. 44 * but since messages are variable length we just make a ptr to 1. 43 45 */ 44 46 45 47 typedef struct { 46 48 unsigned32 size; 47 48 #ifndef __cplusplus 49 /* NOTE: [0] is gcc specific, 50 * but specifically disallowed by ANSI STD C++ 51 * g++ warns about it, so we #ifdef it out to 52 * get rid of warnings when compiled by g++. 53 */ 54 unsigned32 buffer[0]; 55 #endif 56 49 unsigned32 buffer[1]; 57 50 } CORE_message_queue_Buffer; 58 51 -
cpukit/score/include/rtems/score/coremsg.h
r2069773 r533f89f 40 40 * The following defines the data types needed to manipulate 41 41 * the contents of message buffers. 42 * Since msgs are variable length we just make a ptr to 1. 42 * 43 * NOTE: The buffer field is normally longer than a single unsigned32. 44 * but since messages are variable length we just make a ptr to 1. 43 45 */ 44 46 45 47 typedef struct { 46 48 unsigned32 size; 47 48 #ifndef __cplusplus 49 /* NOTE: [0] is gcc specific, 50 * but specifically disallowed by ANSI STD C++ 51 * g++ warns about it, so we #ifdef it out to 52 * get rid of warnings when compiled by g++. 53 */ 54 unsigned32 buffer[0]; 55 #endif 56 49 unsigned32 buffer[1]; 57 50 } CORE_message_queue_Buffer; 58 51
Note: See TracChangeset
for help on using the changeset viewer.