aboutsummaryrefslogtreecommitdiff
path: root/src/port/fseeko.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/fseeko.c')
-rw-r--r--src/port/fseeko.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/port/fseeko.c b/src/port/fseeko.c
index 79a680f383b..b280e3f2c75 100644
--- a/src/port/fseeko.c
+++ b/src/port/fseeko.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/port/fseeko.c,v 1.10 2003/01/11 19:38:23 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/port/fseeko.c,v 1.11 2003/08/04 00:43:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -40,7 +40,7 @@
int
fseeko(FILE *stream, off_t offset, int whence)
{
- off_t floc;
+ off_t floc;
struct stat filestat;
switch (whence)
@@ -79,7 +79,7 @@ fseeko(FILE *stream, off_t offset, int whence)
return 0;
break;
default:
- errno = EINVAL;
+ errno = EINVAL;
return -1;
}
@@ -94,10 +94,11 @@ failure:
off_t
ftello(FILE *stream)
{
- off_t floc;
+ off_t floc;
if (fgetpos(stream, &floc) != 0)
return -1;
return floc;
}
+
#endif