dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtfile / ModAttrP.c
index 1ba8212a345dce3d989de0a14c568085ef18175a..c9f9f19083dcf6c25a6102be6c8f8da1444238d9 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -44,7 +44,7 @@
  ****************************************************************************
  ************************************<+>*************************************/
 
-#if defined __osf__ || defined _AIX
+#if defined _AIX
 #include <stdio.h>
 #endif
   
@@ -134,7 +134,7 @@ ShowModAttrDialog(
   
    XmUpdateDisplay (w);
 
-   if((int)client_data != 0)
+   if((int)(XtArgVal)client_data != 0)
       mbar = XtParent(w);
    else
       mbar = XmGetPostedFromWidget(XtParent(w));
@@ -275,7 +275,7 @@ AttrChangeProcess(
 {
   char *path;
   struct stat stat_buf;
-  long modify_time;
+  long modify_time = 0;
   short pipe_msg;
   int rc = -1;
   Tt_status tt_status;