summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/gen/putspent.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/port/gen/putspent.c')
-rw-r--r--usr/src/lib/libc/port/gen/putspent.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/usr/src/lib/libc/port/gen/putspent.c b/usr/src/lib/libc/port/gen/putspent.c
index 9a49c7a773..fded4a495a 100644
--- a/usr/src/lib/libc/port/gen/putspent.c
+++ b/usr/src/lib/libc/port/gen/putspent.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,16 +18,16 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 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"
/*
* format a shadow file entry
@@ -36,9 +35,7 @@
* This code used to live in getspent.c
*/
-#pragma weak putspent = _putspent
-
-#include "synonyms.h"
+#include "lint.h"
#include <stdio.h>
#include <shadow.h>
@@ -46,7 +43,7 @@ int
putspent(const struct spwd *p, FILE *f)
{
(void) fprintf(f, "%s:%s:", p->sp_namp,
- p->sp_pwdp ? p->sp_pwdp : "");
+ p->sp_pwdp ? p->sp_pwdp : "");
/* pwdp could be null for +/- entries */
if (p->sp_lstchg >= 0)
(void) fprintf(f, "%d:", p->sp_lstchg);