File sentinel.diff of Package openmotif

--- clients/mwm/WmFunction.c
+++ clients/mwm/WmFunction.c
@@ -1126,12 +1126,12 @@ Boolean F_Exec (String args, ClientData
 		directory, then we must call execlp and not execl
 		*/
 		shellname = shell;
-		execlp (shell, shellname, "-c", args, 0);
+		execlp (shell, shellname, "-c", args, (char *) 0);
 	    }
 	    else
 	    {
 		shellname++;
-		execl (shell, shellname, "-c", args, 0);
+		execl (shell, shellname, "-c", args, (char *) 0);
 	    }
 	}
 
@@ -1140,9 +1140,9 @@ Boolean F_Exec (String args, ClientData
 	 * Try /bin/sh .
 	 */
 #ifdef SVR4
-        execl ("/usr/bin/sh", "sh", "-c", args, 0);
+        execl ("/usr/bin/sh", "sh", "-c", args, (char *) 0);
 #else
-        execl ("/bin/sh", "sh", "-c", args, 0);
+        execl ("/bin/sh", "sh", "-c", args, (char *) 0);
 #endif
 
 
--- demos/lib/Xmd/onHelp.c
+++ demos/lib/Xmd/onHelp.c
@@ -66,7 +66,7 @@ int main(int argc, String argv[])
   Widget dismiss;
 
   toplevel = XtVaAppInitialize(&app_context, "HelpOnHelp", NULL, 0, 
-			       &argc, argv, NULL, 0);
+			       &argc, argv, NULL, NULL);
   n = 0;
   XtSetArg(args[n], XmdNhelpFile, "helpOn"); n++;
   help = XmdCreateHelp(toplevel, "help", args, n);
--- demos/programs/Exm/simple_app/simpleDemo.c
+++ demos/programs/Exm/simple_app/simpleDemo.c
@@ -162,7 +162,7 @@ main (int argc, char **argv)
 
   menu = XmCreatePulldownMenu(menuBar, "FileMenu", NULL, 0);
 
-  XtVaSetValues(cascade, XmNsubMenuId, menu, 0);
+  XtVaSetValues(cascade, XmNsubMenuId, menu, NULL);
 
   str = XmStringCreateLocalized("Quit");
   menuitem = XtVaCreateManagedWidget("item", xmPushButtonWidgetClass,
--- demos/programs/filemanager/actions.c
+++ demos/programs/filemanager/actions.c
@@ -91,7 +91,7 @@ viewCB(Widget widget, char   *type, XtPo
   XtVaSetValues(fileviewer,
 		XmNlayoutType, spatial,
 		XmNentryViewType, size,
-		0, 0);
+		NULL);
 
   fixViewerSize(XtParent(fileviewer), NULL, NULL);
 
--- demos/programs/fileview/text.c
+++ demos/programs/fileview/text.c
@@ -160,7 +160,7 @@ void NewPaneCallback(Widget widget, View
       XtSetValues(XtParent(new->text), args, n);
       XmTextSetTopCharacter(new->text,
 			    XmTextGetTopCharacter(this->current_pane->text));
-      XtVaSetValues(target, XmNheight, (Dimension) height/2);
+      XtVaSetValues(target, XmNheight, (Dimension) height/2, NULL);
    }
    printf("source text set\n");
    XtManageChild(new->text);
--- demos/programs/popups/autopopups.c
+++ demos/programs/popups/autopopups.c
@@ -83,7 +83,7 @@ int main(int argc, char **argv)
   XmString	str, tmp1, tmp2;
 
   shell     = XtVaAppInitialize(&context, APP_CLASS, NULL, 0, &argc, argv,
-				NULL, 0);
+				NULL, NULL);
 
   frame1 = XmCreateFrame(shell, "outerframe", NULL, 0);
   XtManageChild(frame1);