From 71a535e3b24d87fb6be3793380f86bd09f2768ac Mon Sep 17 00:00:00 2001 From: jmcp Date: Thu, 30 Apr 2009 20:04:06 -0700 Subject: backout 6795209/6392640: breaks sparc build --- usr/src/lib/pam_modules/sample/sample_acct_mgmt.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'usr/src/lib/pam_modules/sample') diff --git a/usr/src/lib/pam_modules/sample/sample_acct_mgmt.c b/usr/src/lib/pam_modules/sample/sample_acct_mgmt.c index ff09e9d797..96aa5472a2 100644 --- a/usr/src/lib/pam_modules/sample/sample_acct_mgmt.c +++ b/usr/src/lib/pam_modules/sample/sample_acct_mgmt.c @@ -2,8 +2,9 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License (the "License"). - * You may not use this file except in compliance with the License. + * Common Development and Distribution License, Version 1.0 only + * (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,10 +20,12 @@ * CDDL HEADER END */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +#pragma ident "%Z%%M% %I% %E% SMI" + #include #include #include @@ -103,12 +106,11 @@ pam_sm_acct_mgmt( return (error?PAM_SUCCESS:PAM_AUTH_ERR); } -static char *getname(); - static int parse_allow_name(char *who, char *cp) { char name[256]; + static char *getname(); /* catch "allow=" */ if (*cp == '\0') -- cgit v1.2.3