From: Jim Warner Date: Tue, 1 Dec 2015 05:00:00 +0000 (-0500) Subject: library: miscellaneous tweaks for code and/or comments X-Git-Tag: v4.0.0~979 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65000d7c6478e4e9027f5a74a3a53f63a31be401;p=procps-ng library: miscellaneous tweaks for code and/or comments Summarized below, miscellany addressed in this commit: . deleted extraneous newline(s) for consistent spacing Signed-off-by: Jim Warner --- diff --git a/proc/pids.c b/proc/pids.c index 726be1ac..aa587987 100644 --- a/proc/pids.c +++ b/proc/pids.c @@ -233,7 +233,6 @@ REG_set(TICS_USER, ull_int, utime) REG_set(TICS_USER_C, ull_int, cutime) setDECL(TIME_ALL) { R->result.ull_int = (P->utime + P->stime) / I->hertz; } setDECL(TIME_ELAPSED) { R->result.ull_int = (I->boot_seconds >= (P->start_time / I->hertz)) ? I->boot_seconds - (P->start_time / I->hertz) : 0; } - REG_set(TIME_START, ull_int, start_time) REG_set(TTY, s_int, tty) setDECL(TTY_NAME) { char buf[64]; (void)I; dev_to_tty(buf, sizeof(buf), P->tty, P->tid, ABBREV_DEV); R->result.str = strdup(buf); }