Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-03-08 20:56:13 +0300
committerChristopher Faylor <me@cgf.cx>2003-03-08 20:56:13 +0300
commit1114c3d05938d2e6829a382d340a5225d2d59b38 (patch)
tree09142d6175f3e15c825e7091712b0ca53183b231 /winsup/cygwin/fhandler_proc.cc
parentd66ac2bc524ab413d86ad729ca3ff8fc61d0324f (diff)
Revert below changes regarding _pinfo::cmdline.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 6e8ced59a..ebdeedd0b 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -367,8 +367,7 @@ fhandler_proc::fill_filebuf ()
return true;
}
-static
-__off64_t
+static __off64_t
format_proc_meminfo (char *destbuf, size_t maxsize)
{
unsigned long mem_total = 0UL, mem_free = 0UL, swap_total = 0UL,
@@ -398,8 +397,7 @@ format_proc_meminfo (char *destbuf, size_t maxsize)
swap_total >> 10, swap_free >> 10);
}
-static
-__off64_t
+static __off64_t
format_proc_uptime (char *destbuf, size_t maxsize)
{
unsigned long long uptime = 0ULL, idle_time = 0ULL;
@@ -429,8 +427,7 @@ format_proc_uptime (char *destbuf, size_t maxsize)
idle_time / 100, long (idle_time % 100));
}
-static
-__off64_t
+static __off64_t
format_proc_stat (char *destbuf, size_t maxsize)
{
unsigned long long user_time = 0ULL, kernel_time = 0ULL, idle_time = 0ULL;