Loading...
gen/setlogin.c Libc-763.13 Libc-320
--- Libc/Libc-763.13/gen/setlogin.c
+++ Libc/Libc-320/gen/setlogin.c
@@ -1,7 +1,9 @@
 /*
- * Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
+ * 
+ * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
@@ -56,11 +58,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));
 }