[Pkg-wmaker-commits] [wmsysmon] 02/02: *: quick compile fixups
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 03:10:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmsysmon.
commit 68fa4fcc15af47ceff266d8bbbd50e89faeb83aa
Author: Vito Caputo <vcaputo at gnugeneration.com>
Date: Thu Jul 16 23:49:26 2015 -0700
*: quick compile fixups
---
src/Makefile | 2 +-
src/wmsysmon.c | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/Makefile b/src/Makefile
index c167d22..0d55e2c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,7 @@ CC = gcc
LIBDIR += -L/usr/X11R6/lib
LDFLAGS += -lXpm -lXext -lX11 -lm -s
#CFLAGS = -g #-DMONDEBUG
-CFLAGS += -Wall -O3 -m486 -fomit-frame-pointer -I/usr/X11R6/include #-DHI_INTS #undefine HI_INTS if your x86 SMP or alpha
+CFLAGS += -Wall -O3 -fomit-frame-pointer -I/usr/X11R6/include #-DHI_INTS #undefine HI_INTS if your x86 SMP or alpha
BIN = wmsysmon
OBJS = wmgeneral.o \
diff --git a/src/wmsysmon.c b/src/wmsysmon.c
index b780ead..3acbce7 100644
--- a/src/wmsysmon.c
+++ b/src/wmsysmon.c
@@ -284,8 +284,8 @@ void wmsysmon_routine(int argc, char **argv)
exit(0);
break;
- default:
#ifdef MONDEBUG
+ default:
printf("got: %i\n", Event.type);
#endif
}
@@ -438,10 +438,9 @@ void DrawStuff( void )
static long swapins;
static long swapouts;
static long intdiff;
- static long stage;
static long *tints;
- stage = io = iodiff = iopercent = pageins = pageouts = swapins = swapouts = 0;
+ io = iodiff = iopercent = pageins = pageouts = swapins = swapouts = 0;
statfp = freopen("/proc/stat", "r", statfp);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmsysmon.git
More information about the Pkg-wmaker-commits
mailing list