diff options
author | Mike Smith <msmith@FreeBSD.org> | 1999-01-11 11:32:35 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 1999-01-11 11:32:35 +0000 |
commit | 10332f32276d5ab2e4ae3942b3949c2171b9041c (patch) | |
tree | d5495e18b5dd58a15e6771ade64bc760b3404197 /include/unistd.h | |
parent | 4180488519b9a4b0e9e33a5f610d2c426de8c804 (diff) | |
download | src-10332f32276d5ab2e4ae3942b3949c2171b9041c.tar.gz src-10332f32276d5ab2e4ae3942b3949c2171b9041c.zip |
optreset is a POSIX extension, make it visible in POSIX_SOURCE scope.
Submitted by: Andrzej Bialecki <abial@nask.pl>
Notes
Notes:
svn path=/head/; revision=42518
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h index eec9a95565e0..13afc190e8b5 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_ */ |