summaryrefslogtreecommitdiff
path: root/examples/timings.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-07-30 21:03:22 +0000
committerMartin Baulig <martin@src.gnome.org>1999-07-30 21:03:22 +0000
commit91524799817c968c54d969dfdb17f2893de0ac57 (patch)
treebff836289c058c5afab1123919a5f3224b52e751 /examples/timings.c
parent2814206ffa858ee32f37e70b94e1ddb72a2857f7 (diff)
downloadlibgtop-91524799817c968c54d969dfdb17f2893de0ac57.tar.gz
Fixed all warnings.
Diffstat (limited to 'examples/timings.c')
-rw-r--r--examples/timings.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/timings.c b/examples/timings.c
index c131c6cf..10adff74 100644
--- a/examples/timings.c
+++ b/examples/timings.c
@@ -70,14 +70,11 @@ int
main (int argc, char *argv [])
{
glibtop_union data;
- glibtop_sysdeps sysdeps;
- unsigned c, count, port, i, *ptr;
+ unsigned c, count, *ptr;
struct rusage total_start, total_end;
struct rusage rusage_start, rusage_end;
struct timeval elapsed_utime, elapsed_stime;
- char buffer [BUFSIZ];
- pid_t pid, ppid;
- char *args;
+ pid_t pid;
count = PROFILE_COUNT;