aboutsummaryrefslogtreecommitdiff
path: root/src/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.c')
-rw-r--r--src/graph.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/graph.c b/src/graph.c
index 16483bb..bfd00cb 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -55,9 +55,5 @@ int graph_h_margin[2] = { 100, 14 };
int graph_v_margin[2] = { 14, 35 };
-char *rate_unit = "Bits per Second";
-
-static char *short_suffix[] = {"", "k", "M", "G", "T"};
-char **number_suffix = short_suffix;
-size_t number_suffix_count = sizeof (short_suffix) / sizeof (short_suffix[0]);
+char *rate_unit = "Bytes per Second";
#define make_color_index(g, ar) \
@@ -99,5 +95,6 @@ draw_graph (FILE *fp,
#define ytr(y) \
- (unsigned long) ((ymax >= (y) ? (ymax - (y)) : ymax) * yscale + graph_h_margin[1])
+ (unsigned long) ((ymax >= (y) ? (ymax - (y)) : ymax) * \
+ yscale + graph_h_margin[1])
#define xtr(x) \
(unsigned long) (growright ? \

Return to:

Send suggestions and report system problems to the System administrator.