dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtfile / FileManip.c
index b5648dc7f1ba357e7ec796753556e21650728988..105c574bcb855da2a403fbe61e854a95dcaba75a 100644 (file)
@@ -55,7 +55,7 @@
 #    include <sys/fs/ufs_fs.h>
 #    define ROOTINO UFSROOTINO
 #else
-#  if defined(linux) || defined(CSRG_BASED)
+#  if defined(__linux__) || defined(CSRG_BASED)
 #    define ROOTINO 2
 #  endif
 #  include <sys/param.h>
@@ -975,7 +975,7 @@ FileManip(
    if (lstat (to, &s2) >= 0)                      /* <to> exists */
    {
       if ((stat (to, &s3) >= 0) &&
-#if defined(__ultrix) || defined(linux) || \
+#if defined(__ultrix) || defined(__linux__) || \
        defined(CSRG_BASED)
            (((s3.st_mode & S_IFMT) == S_IFDIR)          /* if is a directory */
            || ((s3.st_mode & S_IFMT) == S_IFSOCK)) )    /* or a net special */
@@ -1296,7 +1296,7 @@ FileManip(
            else
              tmpStr = (GETMESSAGE(11,54, "The move of the file/folder failed\ndue to some internal error. The internal\nerror given is:"));
            catmsg = XtNewString(tmpStr);
-           tmpStr = (GETMESSAGE(11,55, "Please see your System Adminstrator"));
+           tmpStr = (GETMESSAGE(11,55, "Please see your System Administrator"));
            samsg = XtNewString(tmpStr);
          }