diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-01-17 20:11:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-01-17 20:11:33 +0000 |
commit | 5d3e5399bb1fa4960c11f5f1ebb3a61eb4025fff (patch) | |
tree | 04d9670abd2fe423671988cd576147eb86861c16 /cpukit/score | |
parent | increased stack size (diff) | |
download | rtems-5d3e5399bb1fa4960c11f5f1ebb3a61eb4025fff.tar.bz2 |
added class to initial id macro
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/include/rtems/score/object.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index 4366eb1b88..2337a8e13a 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -187,10 +187,9 @@ EXTERN Objects_Information #define OBJECTS_ID_INITIAL_INDEX (0) #define OBJECTS_ID_FINAL_INDEX (0xffff) -#define OBJECTS_ID_INITIAL(node) (_Objects_Build_id( \ - OBJECTS_NO_CLASS, \ - node, \ - OBJECTS_ID_INITIAL_INDEX)) +#define OBJECTS_ID_INITIAL(_class, _node) \ + _Objects_Build_id( (_class), (_node), OBJECTS_ID_INITIAL_INDEX ) + #define OBJECTS_ID_FINAL ((Objects_Id)~0) /* |