diff options
author | Eric Blake <eblake@redhat.com> | 2009-12-22 13:07:24 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2009-12-22 13:07:24 +0000 |
commit | b2e79f980050562756250491e135cb3e5072b82f (patch) | |
tree | cbc72918861a7c19ffa629d2171eee8c31ce644a /newlib/libc/include/sys | |
parent | 59cb363a5fd02adf32fca81380c6f438d8b75615 (diff) | |
download | cygnal-b2e79f980050562756250491e135cb3e5072b82f.tar.gz cygnal-b2e79f980050562756250491e135cb3e5072b82f.tar.bz2 cygnal-b2e79f980050562756250491e135cb3e5072b82f.zip |
Fix getsubopt declaration.
* libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
* libc/include/stdlib.h: ...here, to match POSIX for getsubopt.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 80c35daf3..419300253 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -191,9 +191,6 @@ extern int optreset; /* getopt(3) external variable */ #ifndef _POSIX_SOURCE pid_t _EXFUN(vfork, (void )); - -extern char *suboptarg; /* getsubopt(3) external variable */ -int getsubopt(char **, char * const *, char **); #endif /* _POSIX_SOURCE */ #ifdef _COMPILING_NEWLIB |