Diff of /trunk/src/gpx.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 151 by harbaum, Tue Oct 27 08:38:31 2009 UTC revision 152 by harbaum, Mon Nov 2 10:53:01 2009 UTC
# Line 1329  int gpx_total_caches(gpx_t *gpx) { Line 1329  int gpx_total_caches(gpx_t *gpx) {
1329    return num;    return num;
1330  }  }
1331    
1332    /* return number of caches in all gpx files */
1333    int gpx_total_caches_global(gpx_t *gpx) {
1334      int num = 0;
1335      while(gpx) {
1336        num += gpx_total_caches(gpx);
1337        gpx = gpx->next;
1338      }
1339    
1340      return num;
1341    }
1342    
1343  int gpx_number_of_waypoints(wpt_t *wpt) {  int gpx_number_of_waypoints(wpt_t *wpt) {
1344    int num = 0;    int num = 0;
1345    

Legend:
Removed from v.151  
changed lines
  Added in v.152