Loading...
gen/setlogin.c Libc-498 Libc-320.1.3
--- Libc/Libc-498/gen/setlogin.c
+++ Libc/Libc-320.1.3/gen/setlogin.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -56,11 +56,11 @@
 
 #include <unistd.h>
 
-extern int __setlogin(const char* name);
+extern int _setlogin(const char* name);
 
 extern int _logname_valid;		/* shared with getlogin() */
 
 int setlogin(const char* name)
 {
-	return (_logname_valid = __setlogin(name));
+	return (_logname_valid = _setlogin(name));
 }