projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autoupdate
[gnulib.git]
/
lib
/
getlogin_r.h
diff --git
a/lib/getlogin_r.h
b/lib/getlogin_r.h
index
8893540
..
3b304ac
100644
(file)
--- a/
lib/getlogin_r.h
+++ b/
lib/getlogin_r.h
@@
-19,10
+19,7
@@
/* Written by Paul Eggert and Derek Price. */
#include <stddef.h>
/* Written by Paul Eggert and Derek Price. */
#include <stddef.h>
-
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
/* Copies the user's login name to NAME.
The array pointed to by NAME has room for SIZE bytes.
/* Copies the user's login name to NAME.
The array pointed to by NAME has room for SIZE bytes.
@@
-31,7
+28,7
@@
the case that the login name cannot be found but no specific error is
provided (this case is hopefully rare but is left open by the POSIX spec).
the case that the login name cannot be found but no specific error is
provided (this case is hopefully rare but is left open by the POSIX spec).
- See <http://www.opengroup.org/
onlinepubs/009695399/functions
/getlogin.html>.
+ See <http://www.opengroup.org/
susv3xsh
/getlogin.html>.
*/
#if !HAVE_DECL_GETLOGIN_R
int getlogin_r (char *name, size_t size);
*/
#if !HAVE_DECL_GETLOGIN_R
int getlogin_r (char *name, size_t size);