]> sourceware.org Git - glibc.git/commit
Declare cuserid in unistd.h for UNIX98 and before (bug 20043).
authorJoseph Myers <joseph@codesourcery.com>
Tue, 10 May 2016 14:56:49 +0000 (14:56 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 10 May 2016 14:56:49 +0000 (14:56 +0000)
commitb9eca49e378d183ddf418f5deae1f389cd31dc28
tree616ed28e2d02f4cb7b0ab24300a0fa9bd3952fd2
parent4efdc6d956f4ba40f27356e6fc54e40527de63fe
Declare cuserid in unistd.h for UNIX98 and before (bug 20043).

For UNIX98 and older X/Open standards, unistd.h should have a
declaration of the legacy cuserid function, but such a declaration is
missing.  This patch adds that missing declaration.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).

[BZ #20043]
* posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
prototype.
ChangeLog
posix/unistd.h
This page took 0.040493 seconds and 5 git commands to generate.