From: albert <> Date: Sat, 12 Oct 2002 01:57:05 +0000 (+0000) Subject: that was excessive X-Git-Tag: v3.3.0~433 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f86b39f44e6779391301c130a4a79553acc15d5f;p=procps-ng that was excessive --- diff --git a/Makefile b/Makefile index e4d87bc3..30073f4e 100644 --- a/Makefile +++ b/Makefile @@ -61,10 +61,10 @@ CURSES := -I/usr/include/ncurses -lncurses LDFLAGS := -Wl,-warn-common CFLAGS := -D_GNU_SOURCE -O2 -g3 -fno-common -ffast-math -I proc \ - -Wcast-align -Wconversion -Wredundant-decls \ + -W -Wall -Wshadow -Wcast-align -Wredundant-decls \ -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return \ # -Wpadded -Wunreachable-code -Wdisabled-optimization \ - -W -Wall -Wstrict-prototypes -Wshadow -Wmissing-prototypes + -Wstrict-prototypes -Wmissing-prototypes # -Wconversion ############ misc. diff --git a/proc/sysinfo.h b/proc/sysinfo.h index 405219e3..aea4e6e1 100644 --- a/proc/sysinfo.h +++ b/proc/sysinfo.h @@ -31,7 +31,7 @@ extern unsigned kb_active; extern unsigned kb_inact_dirty; extern unsigned kb_inact_clean; extern unsigned kb_inact_target; -extern unsigned kb_swap_cached; /* late 2.4 only */ +extern unsigned kb_swap_cached; /* late 2.4+ */ /* derived values */ extern unsigned kb_swap_used; extern unsigned kb_main_used; @@ -39,7 +39,6 @@ extern unsigned kb_main_used; extern unsigned kb_writeback; extern unsigned kb_slab; extern unsigned nr_reversemaps; -extern unsigned kb_active; extern unsigned kb_committed_as; extern unsigned kb_dirty; extern unsigned kb_inactive;