Tweak last commit.
[gnulib.git] / lib / ftell.c
index babba35..74ec986 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <errno.h>
 #include <limits.h>
-/* Get off_t.  */
-#include <unistd.h>
 
 long
 ftell (FILE *fp)
@@ -30,7 +28,7 @@ ftell (FILE *fp)
   /* Use the replacement ftello function with all its workarounds.  */
   off_t offset = ftello (fp);
   if (LONG_MIN <= offset && offset <= LONG_MAX)
-    return (long)offset;
+    return /* (long) */ offset;
   else
     {
       errno = EOVERFLOW;