Mercurial > illumos > illumos-gate
diff usr/src/cmd/sgs/link_audit/common/env.h @ 12939:a27c46eb192b
6972234 sgs demo's could use some cleanup
author | Rod Evans <Rod.Evans@Sun.COM> |
---|---|
date | Tue, 27 Jul 2010 22:49:34 -0700 |
parents | 68f95e015346 |
children |
line wrap: on
line diff
--- a/usr/src/cmd/sgs/link_audit/common/env.h Tue Jul 27 20:35:25 2010 -0400 +++ b/usr/src/cmd/sgs/link_audit/common/env.h Tue Jul 27 22:49:34 2010 -0700 @@ -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,19 +18,21 @@ * * CDDL HEADER END */ + /* - * Copyright (c) 1997 by Sun Microsystems, Inc. + * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. * All rights reserved. */ - -#pragma ident "%Z%%M% %I% %E% SMI" - +#ifndef _ENV_H +#define _ENV_H typedef struct elist { - char * l_libname; - struct elist * l_next; + char *l_libname; + struct elist *l_next; } Elist; -extern void build_env_list(Elist **, const char *); -extern Elist * check_list(Elist *, const char *); -extern char * checkenv(const char *); +extern void build_env_list(Elist **, const char *); +extern Elist *check_list(Elist *, const char *); +extern char *checkenv(const char *); + +#endif /* _ENV_H */