summaryrefslogtreecommitdiff
path: root/app/xmag/RootWin.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/xmag/RootWin.c')
-rw-r--r--app/xmag/RootWin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/xmag/RootWin.c b/app/xmag/RootWin.c
index 1b4d4dd80..7960d3858 100644
--- a/app/xmag/RootWin.c
+++ b/app/xmag/RootWin.c
@@ -33,7 +33,7 @@ from The Open Group.
static void Realize ( Widget w, XtValueMask *value_mask, XSetWindowAttributes *attributes );
-RootWindowClassRec rootWindowClassRec = {
+static RootWindowClassRec rootWindowClassRec = {
{ /* core fields */
/* superclass */ (WidgetClass) &widgetClassRec,
/* class_name */ "RootWindow",
@@ -75,9 +75,9 @@ RootWindowClassRec rootWindowClassRec = {
WidgetClass rootWindowWidgetClass = (WidgetClass)&rootWindowClassRec;
-/*ARGSUSED*/
static void
-Realize(Widget w, XtValueMask *value_mask, XSetWindowAttributes *attributes)
+Realize(Widget w, _X_UNUSED XtValueMask *value_mask,
+ _X_UNUSED XSetWindowAttributes *attributes)
{
w->core.window = RootWindowOfScreen(w->core.screen);
}