ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/statgrab/statgrab.c
(Generate patch)

Comparing projects/libstatgrab/src/statgrab/statgrab.c (file contents):
Revision 1.2 by tdb, Wed Aug 27 14:00:12 2003 UTC vs.
Revision 1.4 by tdb, Wed Aug 27 20:54:19 2003 UTC

# Line 18 | Line 18
18   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19   */
20  
21 + #ifdef HAVE_CONFIG_H
22 + #include "config.h"
23 + #endif
24 +
25   #include <statgrab.h>
26   #include <string.h>
27   #include <stdio.h>
# Line 75 | Line 79 | void clear_stats() {
79  
80          for (i = 0; i < num_stats; i++)
81                  free(stats[i].name);
78        free(stats);
79        stats = NULL;
82          num_stats = 0;
81        alloc_stats = 0;
83   }
84  
85   /* Add a stat. The varargs make up the name, joined with dots; the name is

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines