[warning-fix][-Wreturn-type]:change return type to void, clean up block comment

This commit is contained in:
Mark Pictor
2011-08-20 06:05:40 -04:00
parent 99407fb5e5
commit b5238dfef6
2 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ struct EntityTag_ {
Entity ENTITYget_superclass (Entity entity);
Entity ENTITYput_superclass (Entity entity);
int ENTITYhas_explicit_attributes (Entity e);
Linked_List ENTITYget_first_attribs(Entity entity, Linked_List result);
void ENTITYget_first_attribs(Entity entity, Linked_List result);
typedef struct SelectTag_ *SelectTag;
struct SelectTag_ {
+7 -8
View File
@@ -761,8 +761,7 @@ ENTITYget_superclass( Entity entity ) {
return ( tag ? tag -> superclass : 0 );
}
Linked_List
ENTITYget_first_attribs( Entity entity, Linked_List result ) {
void ENTITYget_first_attribs( Entity entity, Linked_List result ) {
Linked_List supers;
LISTdo( ENTITYget_attributes( entity ), attr, Generic )
@@ -777,13 +776,13 @@ ENTITYget_first_attribs( Entity entity, Linked_List result ) {
/* Attributes are divided into four categories:
** these are not exclusive as far as I can tell! I added defs below DAS
**
** . simple explicit
** . simple explicit
** . type shifters // not DERIVEd - redefines type in ancestor
// VARget_initializer(v) returns null
** . simple derived // DERIVEd - is calculated - VARget_initializer(v)
// returns non-zero, VARis_derived(v) is non-zero
** // VARget_initializer(v) returns null
**
** . simple derived // DERIVEd - is calculated - VARget_initializer(v)
** // returns non-zero, VARis_derived(v) is non-zero
**
** . overriding // includes type shifters and derived
**
** All of them are added to the dictionary.