… | |
… | |
1128 | * Allocate and return the pointer to an empty artifactlist structure. |
1128 | * Allocate and return the pointer to an empty artifactlist structure. |
1129 | */ |
1129 | */ |
1130 | static artifactlist * |
1130 | static artifactlist * |
1131 | get_empty_artifactlist (void) |
1131 | get_empty_artifactlist (void) |
1132 | { |
1132 | { |
1133 | return salloc0 <artifactlist> (); |
1133 | return salloc0<artifactlist> (); |
1134 | } |
1134 | } |
1135 | |
1135 | |
1136 | /* |
1136 | /* |
1137 | * Allocate and return the pointer to an empty artifact structure. |
1137 | * Allocate and return the pointer to an empty artifact structure. |
1138 | */ |
1138 | */ |
1139 | static artifact * |
1139 | static artifact * |
1140 | get_empty_artifact (void) |
1140 | get_empty_artifact (void) |
1141 | { |
1141 | { |
1142 | return salloc0 <artifact> (); |
1142 | return salloc0<artifact> (); |
1143 | } |
1143 | } |
1144 | |
1144 | |
1145 | /* |
1145 | /* |
1146 | * Searches the artifact lists and returns one that has the same type |
1146 | * Searches the artifact lists and returns one that has the same type |
1147 | * of objects on it. |
1147 | * of objects on it. |