diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
commit | 6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch) | |
tree | 349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/unistd | |
parent | 2d997660372123ab6ac1ee519b22fe015eaa787b (diff) |
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/unistd')
-rw-r--r-- | libc/unistd/getlogin.c | 3 | ||||
-rw-r--r-- | libc/unistd/sysconf.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libc/unistd/getlogin.c b/libc/unistd/getlogin.c index f2ee1d355..778b8f1e6 100644 --- a/libc/unistd/getlogin.c +++ b/libc/unistd/getlogin.c @@ -22,6 +22,7 @@ #include <stdlib.h> #include <string.h> +#include <unistd.h> libc_hidden_proto(strcpy) libc_hidden_proto(strncpy) @@ -33,11 +34,11 @@ libc_hidden_proto(getenv) * the user specify whatever they want via the LOGNAME environment * variable, or we return NULL if getenv() fails to find anything */ +libc_hidden_proto(getlogin) char * getlogin(void) { return (getenv("LOGNAME")); } -libc_hidden_proto(getlogin) libc_hidden_def(getlogin) int getlogin_r(char *name, size_t len) diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c index 6f362819c..0dde75102 100644 --- a/libc/unistd/sysconf.c +++ b/libc/unistd/sysconf.c @@ -33,6 +33,8 @@ #include <regex.h> #endif +libc_hidden_proto(sysconf) + libc_hidden_proto(getpagesize) libc_hidden_proto(getdtablesize) @@ -883,5 +885,4 @@ long int sysconf(int name) #endif } } -libc_hidden_proto(sysconf) libc_hidden_def(sysconf) |