summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-02-23 03:16:59 +0000
committerache <ache@FreeBSD.org>2004-02-23 03:16:59 +0000
commit4851a07e575db73e1ee8d8d3aa0bb7e73484f68b (patch)
tree9e72c18e9e3a3be5334f24aaff60ba194712cc6b /include/unistd.h
parent2d844ba403aa7c79fed3245fdbaf49728f9d0ec0 (diff)
downloadFreeBSD-src-4851a07e575db73e1ee8d8d3aa0bb7e73484f68b.zip
FreeBSD-src-4851a07e575db73e1ee8d8d3aa0bb7e73484f68b.tar.gz
POSIX clearly states that getsubopt() should be declared in <stdlib.h>,
not in <unistd.h>
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/unistd.h b/include/unistd.h
index da1438a..6a441dd 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -539,11 +539,6 @@ int undelete(const char *);
int unwhiteout(const char *);
void *valloc(size_t); /* obsoleted by malloc() */
-extern char *suboptarg; /* getsubopt(3) external variable */
-#ifndef _GETSUBOPT_DECLARED
-int getsubopt(char **, char * const *, char **);
-#define _GETSUBOPT_DECLARED
-#endif
extern int optreset; /* getopt(3) external variable */
#endif /* __BSD_VISIBLE */
__END_DECLS
OpenPOWER on IntegriCloud