optreset is a POSIX extension, make it visible in POSIX_SOURCE scope.

Submitted by:	 Andrzej Bialecki <abial@nask.pl>
This commit is contained in:
Mike Smith 1999-01-11 11:32:35 +00:00
parent 4180488519
commit 10332f3227
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42518

View File

@ -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_ */