diff options
Diffstat (limited to 'usr/src/cmd/saf/structs.h')
-rw-r--r-- | usr/src/cmd/saf/structs.h | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/usr/src/cmd/saf/structs.h b/usr/src/cmd/saf/structs.h index c06c267bd0..420ab18243 100644 --- a/usr/src/cmd/saf/structs.h +++ b/usr/src/cmd/saf/structs.h @@ -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,17 +18,20 @@ * * CDDL HEADER END */ +/* + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ -#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.5*/ - - -/* - * REQUIRES: sac.h misc.h - */ +#ifndef _STRUCTS_H +#define _STRUCTS_H +#include <sac.h> +#include "misc.h" /* * error messages @@ -77,17 +79,19 @@ struct sactab { * defn's for sc_sstate, sc_pstate, and sc_lstate */ -# define NOTRUNNING 0 /* PM not running */ -# define STARTING 1 /* PM is starting, must be same as PM_STARTING */ -# define ENABLED 2 /* PM is enabled, must be same as PM_ENABLED */ -# define DISABLED 3 /* PM is disabled, must be same as PM_DISABLED */ -# define STOPPING 4 /* PM is stopping, must be same as PM_STOPPING */ -# define FAILED 5 /* PM has failed */ -# define UNKNOWN 6 /* in recovery, state unknown */ +#define NOTRUNNING 0 /* PM not running */ +#define STARTING 1 /* PM starting, must be same as PM_STARTING */ +#define ENABLED 2 /* PM enabled, must be same as PM_ENABLED */ +#define DISABLED 3 /* PM disabled, must be same as PM_DISABLED */ +#define STOPPING 4 /* PM stopping, must be same as PM_STOPPING */ +#define FAILED 5 /* PM has failed */ +#define UNKNOWN 6 /* in recovery, state unknown */ /* * defn's for sc_flags */ -# define D_FLAG 0x1 -# define X_FLAG 0x2 +#define D_FLAG 0x1 +#define X_FLAG 0x2 + +#endif /* _STRUCTS_H */ |