summaryrefslogtreecommitdiff
path: root/sysutils/xsysstats/files/patch-xsysstats.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xsysstats/files/patch-xsysstats.h')
-rw-r--r--sysutils/xsysstats/files/patch-xsysstats.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/sysutils/xsysstats/files/patch-xsysstats.h b/sysutils/xsysstats/files/patch-xsysstats.h
index a7893e2917aa..290232f4a1fd 100644
--- a/sysutils/xsysstats/files/patch-xsysstats.h
+++ b/sysutils/xsysstats/files/patch-xsysstats.h
@@ -1,5 +1,5 @@
---- xsysstats.h.orig Tue May 30 08:46:20 2000
-+++ xsysstats.h Sat Nov 9 08:43:29 2002
+--- xsysstats.h.orig 2000-05-30 06:46:20 UTC
++++ xsysstats.h
@@ -15,12 +15,9 @@
#include <stdio.h>
#include <sys/param.h>
@@ -13,7 +13,19 @@
#include <netdb.h>
#include <rpcsvc/rstat.h>
-@@ -138,7 +135,7 @@
+@@ -115,8 +112,10 @@ struct graph_info {
+ short host_offset;
+ short window; /* What window to put this graph in */
+ int max_val; /* maximum value this graph ever reached */
+-} *graphs;
++};
+
++extern struct graph_info *graphs;
++
+ struct Xss_Window {
+ short x, y; /* Upper left corner of window */
+ short width,height; /* width and height of the window. height
+@@ -138,7 +137,7 @@ struct Host_Info {
char *name; /*Name of the host */
#ifdef USE_NEW_RSTAT
CLIENT *client; /* client connection for rstat */