mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Remove unnecessary declarations from Documentation/accounting/getdelays.c
@ 2012-11-24 16:54 Anthony G. Basile
  2012-11-25 22:07 ` Jesper Juhl
  2012-11-26 13:22 ` Jiri Kosina
  0 siblings, 2 replies; 3+ messages in thread
From: Anthony G. Basile @ 2012-11-24 16:54 UTC (permalink / raw)
  To: linux-kernel
  Cc: rob, jj, jkosina, linux-doc, embedded, kernel, Anthony G. Basile

From: "Anthony G. Basile" <basile@opensource.dyc.edu>

stime and utime are declared __u64 but are never used.  On a glibc system
this is harmless lint, but on a uClibc system, because of the difference
in they way header files stack, including stdio.h brings in time.h and
this causes a name collision with stime.  Since these are useless anyhow,
we remove them.

Signed-off-by: Anthony G. Basile <basile@opensource.dyc.edu>
---
 Documentation/accounting/getdelays.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c
index 6f706ac..f8ebcde 100644
--- a/Documentation/accounting/getdelays.c
+++ b/Documentation/accounting/getdelays.c
@@ -51,7 +51,6 @@ int dbg;
 int print_delays;
 int print_io_accounting;
 int print_task_context_switch_counts;
-__u64 stime, utime;
 
 #define PRINTF(fmt, arg...) {			\
 	    if (dbg) {				\
-- 
1.7.6.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-26 13:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-24 16:54 [PATCH] Remove unnecessary declarations from Documentation/accounting/getdelays.c Anthony G. Basile
2012-11-25 22:07 ` Jesper Juhl
2012-11-26 13:22 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®