library: Update uptime calls to standard format

Changed all the uptime related functions to use the
standard naming procps_uptime_*
This commit is contained in:
Craig Small
2015-06-29 22:09:59 +10:00
parent 56399212c8
commit 639daf5468
8 changed files with 130 additions and 120 deletions

View File

@ -34,6 +34,7 @@
#include "../proc/wchan.h"
#include "../proc/version.h"
#include "../proc/sysinfo.h"
#include <proc/uptime.h>
#include "../include/c.h"
#include "common.h"
@ -390,7 +391,7 @@ void reset_global(void){
negate_selection = 0;
page_size = getpagesize();
running_only = 0;
seconds_since_boot = uptime(0,0);
seconds_since_boot = procps_uptime(0,0);
selection_list = NULL;
simple_select = 0;
sort_list = NULL;