aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-08-24 06:48:22 +0000
committerUlrich Drepper <drepper@redhat.com>2006-08-24 06:48:22 +0000
commitaa2c6b6df52d86f1a2f3d2b7c91be720192e2290 (patch)
tree61f1c546f0fed05c2d70fc6c0c1ce6085bf3dff0 /posix
parentba408f846541f7279ef12858545abac1c26719e7 (diff)
downloadglibc-aa2c6b6df52d86f1a2f3d2b7c91be720192e2290.tar
glibc-aa2c6b6df52d86f1a2f3d2b7c91be720192e2290.tar.gz
glibc-aa2c6b6df52d86f1a2f3d2b7c91be720192e2290.tar.bz2
glibc-aa2c6b6df52d86f1a2f3d2b7c91be720192e2290.zip
* posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not
__USE_UNIX98. * posix/bits/unistd.h: Likewise.
Diffstat (limited to 'posix')
-rw-r--r--posix/bits/unistd.h2
-rw-r--r--posix/unistd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/posix/bits/unistd.h b/posix/bits/unistd.h
index 96f26d5482..b08aef2f6c 100644
--- a/posix/bits/unistd.h
+++ b/posix/bits/unistd.h
@@ -198,7 +198,7 @@ __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen))
}
-#if defined __USE_REENTRANT || defined __USE_UNIX98
+#if defined __USE_REENTRANT || defined __USE_POSIX199506
extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
__nonnull ((1));
extern int __REDIRECT (__getlogin_r_alias, (char *__buf, size_t __buflen),
diff --git a/posix/unistd.h b/posix/unistd.h
index c7a52722ca..b751928b1e 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -811,7 +811,7 @@ extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __THROW;
This function is a possible cancellation points and therefore not
marked with __THROW. */
extern char *getlogin (void);
-#if defined __USE_REENTRANT || defined __USE_UNIX98
+#if defined __USE_REENTRANT || defined __USE_POSIX199506
/* Return at most NAME_LEN characters of the login name of the user in NAME.
If it cannot be determined or some other error occurred, return the error
code. Otherwise return 0.