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