From 6f7dc709ed7e403af224b0fbb91e9619629eb2ec Mon Sep 17 00:00:00 2001
From: "Peter S. Mazinger" <ps.m@gmx.net>
Date: Sat, 14 Jan 2006 19:45:02 +0000
Subject: make DODEBUG=y happy, update sysdeps/common/* copyright

---
 libc/unistd/getlogin.c | 3 ++-
 libc/unistd/sysconf.c  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

(limited to 'libc/unistd')

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)
-- 
cgit v1.2.3