summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorenami <enami@NetBSD.org>2000-07-16 12:46:17 +0000
committerenami <enami@NetBSD.org>2000-07-16 12:46:17 +0000
commit081e8d717c75f7bca64d23b481a11a91b7957d2b (patch)
treefc613927127bb5e339d17c5adb2c9da834d98ebf /include
parent0eca5025a35222557f9b7fe593fd78fbfd32eb9c (diff)
- Fix couple of typos.
- Protect some func. decls. added recently with __{BEGIN,END}_DECLS.
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/stdio.h b/include/stdio.h
index bae133747cb..8a6e19a59f8 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.35 2000/07/15 18:04:38 drochner Exp $ */
+/* $NetBSD: stdio.h,v 1.36 2000/07/16 12:46:17 enami Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -155,8 +155,8 @@ __END_DECLS
#define __SMBF 0x0080 /* _buf is from malloc */
#define __SAPP 0x0100 /* fdopen()ed in append mode */
#define __SSTR 0x0200 /* this is an sprintf/snprintf string */
-#define __SOPT 0x0400 /* do fseek() optimisation */
-#define __SNPT 0x0800 /* do not do fseek() optimisation */
+#define __SOPT 0x0400 /* do fseek() optimization */
+#define __SNPT 0x0800 /* do not do fseek() optimization */
#define __SOFF 0x1000 /* set iff _offset is in fact correct */
#define __SMOD 0x2000 /* true => fgetln modified _p text */
#define __SALC 0x4000 /* allocate string space dynamically */
@@ -338,8 +338,10 @@ typedef __off_t off_t;
#define off_t off_t
#endif /* off_t */
+__BEGIN_DECLS
int fseeko __P((FILE *, off_t, int));
off_t ftello __P((FILE *));
+__END_DECLS
#endif /* (!_POSIX_SOURCE && !_XOPEN_SOURCE) || ... */
/*