summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/gen/getenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/port/gen/getenv.c')
-rw-r--r--usr/src/lib/libc/port/gen/getenv.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr/src/lib/libc/port/gen/getenv.c b/usr/src/lib/libc/port/gen/getenv.c
index 6329a048d8..f9fb28ef72 100644
--- a/usr/src/lib/libc/port/gen/getenv.c
+++ b/usr/src/lib/libc/port/gen/getenv.c
@@ -20,23 +20,19 @@
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
+#pragma ident "%Z%%M% %I% %E% SMI"
-#pragma weak putenv = _putenv
-#pragma weak setenv = _setenv
-#pragma weak unsetenv = _unsetenv
+#pragma weak _putenv = putenv
-#include "synonyms.h"
+#include "lint.h"
#include <mtlib.h>
-
#include <sys/types.h>
#include <thread.h>
#include <synch.h>