dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtfile / FileMgr.c
index 79d0c4aff598b4a892ecfe981b9e3975642ba6b7..0cc15646324c2f44c2f1ec6cbbd4d2413f968e44 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
  */
@@ -979,7 +979,7 @@ Create(
    XtSetValues (file_mgr_rec->vertical_scroll_bar, args, 2);
 
 
-   /*  Add an event handler to catch resizes occuring on the scrolled  */
+   /*  Add an event handler to catch resizes occurring on the scrolled  */
    /*  window, in order to force a relayout of the icons.              */
 
    XtAddEventHandler (file_mgr_rec->scroll_window, StructureNotifyMask,
@@ -2337,11 +2337,7 @@ ActivateClist(
         (( isalpha( tmp[i] ) ) ? (message[i] = (int)(tmp[i]) - 1) : (message[i] = tmp[i]));
       };
 
-#ifdef __osf__
-      sscanf( params[0], "%lx", &fileMgrRec );
-#else
       sscanf( params[0], "%p", (void **) &fileMgrRec );
-#endif
       _DtMessage(toplevel, title, message, NULL, HelpRequestCB);
       XtFree( title );
       XtFree( message );
@@ -6398,11 +6394,7 @@ FMInput(
 
     if( *(params[0]) != '@' )
     {
-#ifdef __osf__
-        sscanf( params[0], "%lx", &fileMgrRec );
-#else
         sscanf( params[0], "%p", (void **) &fileMgrRec );
-#endif
       FileWindowInputCallback( wid, (XtPointer)fileMgrRec, (XtPointer)&cb );
     }