summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2009-12-22 13:07:24 +0000
committerEric Blake <eblake@redhat.com>2009-12-22 13:07:24 +0000
commitb2e79f980050562756250491e135cb3e5072b82f (patch)
treecbc72918861a7c19ffa629d2171eee8c31ce644a /newlib/libc/include/sys
parent59cb363a5fd02adf32fca81380c6f438d8b75615 (diff)
downloadcygnal-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.h3
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