summaryrefslogtreecommitdiff
path: root/xload.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 15:31:58 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 15:31:58 -0200
commit68bad5a59d3619372cb4a48563f5c7423f54163d (patch)
treebc696dea3970df6fd4bf37b5e9d17f4351ad667d /xload.c
parent0436471fd8007826d40a2f57710e9964c0768d50 (diff)
Correct make distcheck and sparse warnings.
Diffstat (limited to 'xload.c')
-rw-r--r--xload.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/xload.c b/xload.c
index b7dea0c..e423e65 100644
--- a/xload.c
+++ b/xload.c
@@ -52,21 +52,12 @@ from the X Consortium.
#include "xload.bit"
-char *ProgramName;
+static char *ProgramName;
static void quit(Widget w, XEvent *event, String *params, Cardinal *num_params);
static void ClearLights(Display *dpy);
static void SetLights(XtPointer data, XtIntervalId *timer);
-/*
- * Definition of the Application resources structure.
- */
-
-typedef struct _XLoadResources {
- Boolean show_label;
- Boolean use_lights;
- String remote;
-} XLoadResources;
/*
* Command line options table. Only resources are entered here...there is a