dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtmail / dtmail / XmTextEditor.C
index b71a9e90158cb4d2455ccb8cc99a221628200948..24e883216da5af6b3f4ea0cffc5dd5bd4081aa30 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
  */
@@ -647,15 +647,7 @@ XmTextEditor::loadFile(const char * path, const int pos)
                                (page_size - (info.st_size % page_size)));
     char * map;
 
-#if defined(__osf__)
-    // Need the (char *) for compile to work in ALL cases ... for the
-    // POSIX "mmap" is (void *).  Also, this version of mmap does NOT
-    // allow requested length to be greater than the file size ...
-    // in contradiction to the documentation (don't round up).
-    map = (char *) mmap(0, info.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
-#else
     map = (char *) mmap(0, map_size, PROT_READ, MAP_PRIVATE, fd, 0);
-#endif
 
     if (map == (char *)-1) {
        // We could not map it for some reason. Let's just read it into