]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(getlogin, ttyname, geteuid): Declare them here, if needed.
authorJim Meyering <jim@meyering.net>
Thu, 2 Mar 2000 09:04:06 +0000 (09:04 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 2 Mar 2000 09:04:06 +0000 (09:04 +0000)
src/sys2.h

index bc88f96d6b77ab7ff34f2b954c01dd4b5a3fef2f..89af5bbcc8bb27d011c274cc6c9c5bd33bd8c12f 100644 (file)
@@ -305,6 +305,18 @@ unsigned long strtoul ();
 unsigned long long strtoull ();
 #endif
 
+#if !HAVE_DECL_GETLOGIN
+char *getlogin ();
+#endif
+
+#if !HAVE_DECL_TTYNAME
+char *ttyname ();
+#endif
+
+#if !HAVE_DECL_GETEUID
+uid_t geteuid ();
+#endif
+
 #include "xalloc.h"
 
 #if ! defined HAVE_MEMPCPY && ! defined mempcpy