Skip to content

Commit

Permalink
Get rid of extraneous include.
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Aug 7, 2018
1 parent 391c572 commit b417f59
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/linux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*
*/

#include <kvm.h>
#include <sys/dkstat.h>
#include <sys/ioctl.h>
#include <sys/malloc.h>
Expand Down Expand Up @@ -400,7 +399,8 @@ void update_cpu_usage() {
#endif
}

void free_cpu(struct text_object *) { /* not used */ }
void free_cpu(struct text_object *) { /* not used */
}

void update_load_average() {
double v[3];
Expand Down Expand Up @@ -1034,7 +1034,8 @@ int get_entropy_poolsize(unsigned int *val) {
return 0;
}

void free_cpu(struct text_object *) { /* not used */ }
void free_cpu(struct text_object *) { /* not used */
}

// fscanf() that reads floats with points even if you are using a locale where
// floats are with commas
Expand Down

0 comments on commit b417f59

Please sign in to comment.