Changeset 873 for branches/prototype-v0/zoo-project/zoo-kernel/service.c
- Timestamp:
- Mar 19, 2018, 3:53:31 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/service.c
r871 r873 190 190 * Count number of map in a map 191 191 * 192 * @param m the map sto count192 * @param m the map to count 193 193 * @return number of map in a map 194 194 */ 195 195 int count(map* m){ 196 196 map* tmp=m; 197 int c=0; 198 while(tmp!=NULL){ 199 c++; 200 tmp=tmp->next; 201 } 202 return c; 203 } 204 205 /** 206 * Count number of maps in a maps 207 * 208 * @param m the maps to count 209 * @return number of maps in a maps 210 */ 211 int maps_length(maps* m){ 212 maps* tmp=m; 197 213 int c=0; 198 214 while(tmp!=NULL){
Note: See TracChangeset
for help on using the changeset viewer.