summaryrefslogtreecommitdiffstats
path: root/include/stdio.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-07 16:02:30 +0000
committerpjd <pjd@FreeBSD.org>2007-04-07 16:02:30 +0000
commit13f0f1e64ffdc32926fa93e6c4a6f8b9da36e7ff (patch)
treeb4a073e4a69853a45c99bedaca1e8c452b460de8 /include/stdio.h
parenta8db5cc8074488959ba1cd72c9f0621357de58f3 (diff)
downloadFreeBSD-src-13f0f1e64ffdc32926fa93e6c4a6f8b9da36e7ff.zip
FreeBSD-src-13f0f1e64ffdc32926fa93e6c4a6f8b9da36e7ff.tar.gz
- Remove SEEK_DATA and SEEK_HOLE from stdio.h, they don't belong here.
- Only define SEEK_DATA and SEEK_HOLE in sys/unistd.h when neither _POSIX_SOURCE nor _XOPEN_SOURCE is defined. Pointed out by: bde, ache
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/stdio.h b/include/stdio.h
index bf01429..348db22 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -200,12 +200,6 @@ __END_DECLS
#ifndef SEEK_END
#define SEEK_END 2 /* set file offset to EOF plus offset */
#endif
-#ifndef SEEK_DATA
-#define SEEK_DATA 3 /* set file offset to next data past offset */
-#endif
-#ifndef SEEK_HOLE
-#define SEEK_HOLE 4 /* set file offset to next hole past offset */
-#endif
#define stdin __stdinp
#define stdout __stdoutp
OpenPOWER on IntegriCloud