summaryrefslogtreecommitdiff
path: root/procfs.h
diff options
context:
space:
mode:
authorMadhusudan.C.S <madhusudancs@gmail.com>2008-08-18 17:15:00 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-01 01:29:21 +0200
commit688a421a1aef82d2688909f106c4a70172530b81 (patch)
treea0b735cb8020e9f52840d2a500747ee66dadb7f4 /procfs.h
parent41ad1a2b52b6479c778a908c3dacee29c47619db (diff)
2008-08-14 Madhusudan.C.S <madhusudancs@gmail.com>
* procfs.h: (jiffy_t): New typedef. * procfs_pid.h: "procfs.h" is included. (struct procfs_pid_files): Changed all the occurrences of time_t to jiffy_t. * procfs_pid_files.c: Removed "procfs.h". (adjust_jiffy_time): Changed return type from time_t to jiffy_t. Changed the type of jiffy_time variable from time_t to jiffy_t. (get_live_threads_time): Changed the type of utime and stime from time_t to jiffy_t. (get_stat_data): Changed the type of utime and stime from time_t to jiffy_t.
Diffstat (limited to 'procfs.h')
-rw-r--r--procfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/procfs.h b/procfs.h
index 95d4ee35..fa2fb7f7 100644
--- a/procfs.h
+++ b/procfs.h
@@ -53,6 +53,8 @@
#include <hurd/ihash.h>
#include <ps.h>
+typedef unsigned long long jiffy_t;
+
/* A single entry in a directory. */
struct procfs_dir_entry
{