top: another readability fix
diff --git a/procps/top.c b/procps/top.c
index 1b47364..87e8500 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -234,8 +234,7 @@
}
#endif
-/* display generic info (meminfo / loadavg) */
-static unsigned long display_generic(int scr_width)
+static unsigned long display_header(int scr_width)
{
FILE *fp;
char buf[80];
@@ -361,7 +360,7 @@
top_status_t *s = top;
char vsz_str_buf[8];
- unsigned long total_memory = display_generic(scr_width); /* or use total_vsz? */
+ unsigned long total_memory = display_header(scr_width); /* or use total_vsz? */
/* xxx_shift and xxx_scale variables allow us to replace
* expensive divides with multiply and shift */
unsigned pmem_shift, pmem_scale, pmem_half;