summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-01-11 11:32:35 +0000
committermsmith <msmith@FreeBSD.org>1999-01-11 11:32:35 +0000
commitac069d667730845715bda42293e7b894f8dfcb04 (patch)
tree461d43e8c9de9c05a580e3b34c3e66cf81856587 /include
parent4d0780a914e34e93676a294f9de685250ca3c0d0 (diff)
downloadFreeBSD-src-ac069d667730845715bda42293e7b894f8dfcb04.zip
FreeBSD-src-ac069d667730845715bda42293e7b894f8dfcb04.tar.gz
optreset is a POSIX extension, make it visible in POSIX_SOURCE scope.
Submitted by: Andrzej Bialecki <abial@nask.pl>
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index eec9a95..13afc19 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -199,10 +199,10 @@ int usleep __P((unsigned int));
void *valloc __P((size_t)); /* obsoleted by malloc() */
pid_t vfork __P((void));
-extern optreset; /* getopt(3) external variable */
extern char *suboptarg; /* getsubopt(3) external variable */
int getsubopt __P((char **, char * const *, char **));
#endif /* !_POSIX_SOURCE */
+extern int optreset; /* getopt(3) external variable */
__END_DECLS
#endif /* !_UNISTD_H_ */
OpenPOWER on IntegriCloud