summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ttymon/tmstruct.h
diff options
context:
space:
mode:
authorjmcp <James.McPherson@Sun.COM>2009-04-30 20:04:06 -0700
committerjmcp <James.McPherson@Sun.COM>2009-04-30 20:04:06 -0700
commit71a535e3b24d87fb6be3793380f86bd09f2768ac (patch)
treee602b2114284c42cf64645658f2b18e50d34f5a6 /usr/src/cmd/ttymon/tmstruct.h
parent9f51456788105f8fa3e4ebf290b4628eb757e65a (diff)
downloadillumos-joyent-71a535e3b24d87fb6be3793380f86bd09f2768ac.tar.gz
backout 6795209/6392640: breaks sparc build
Diffstat (limited to 'usr/src/cmd/ttymon/tmstruct.h')
-rw-r--r--usr/src/cmd/ttymon/tmstruct.h39
1 files changed, 16 insertions, 23 deletions
diff --git a/usr/src/cmd/ttymon/tmstruct.h b/usr/src/cmd/ttymon/tmstruct.h
index 38aea1063e..1598de05a1 100644
--- a/usr/src/cmd/ttymon/tmstruct.h
+++ b/usr/src/cmd/ttymon/tmstruct.h
@@ -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.
@@ -18,17 +19,11 @@
*
* 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 */
-#ifndef _TMSTRUCT_H
-#define _TMSTRUCT_H
+#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.4 */
/*
* /etc/ttydefs structure
@@ -81,34 +76,32 @@ struct pmtab {
* valid flags for p_flags field of pmtab
*/
#define X_FLAG 0x1 /* port/service disabled */
-#define U_FLAG 0x2 /* create utmp entry for the service */
+#define U_FLAG 0x2 /* create utmp entry for the service */
/*
* valid flags for p_ttyflags field of pmtab
*/
-#define C_FLAG 0x1 /* invoke service on carrier */
-#define H_FLAG 0x2 /* hangup the line */
-#define B_FLAG 0x4 /* bi-directional line */
-#define R_FLAG 0x8 /* do wait_read */
-#define I_FLAG 0x10 /* initialize only */
+#define C_FLAG 0x1 /* invoke service on carrier */
+#define H_FLAG 0x2 /* hangup the line */
+#define B_FLAG 0x4 /* bi-directional line */
+#define R_FLAG 0x8 /* do wait_read */
+#define I_FLAG 0x10 /* initialize only */
/*
* autobaud enabled flag
*/
-#define A_FLAG 0x20 /* autobaud flag */
+#define A_FLAG 0x20 /* autobaud flag */
/*
* values for p_status field of pmtab
*/
-#define NOTVALID 0 /* entry is not valid */
-#define VALID 1 /* entry is valid */
-#define CHANGED 2 /* entry is valid but changed */
-#define GETTY 3 /* entry is for ttymon express */
+#define NOTVALID 0 /* entry is not valid */
+#define VALID 1 /* entry is valid */
+#define CHANGED 2 /* entry is valid but changed */
+#define GETTY 3 /* entry is for ttymon express */
#define ALLOC_PMTAB \
((struct pmtab *)calloc((unsigned)1, \
- (unsigned)sizeof (struct pmtab)))
+ (unsigned)sizeof(struct pmtab)))
#define PNULL ((struct pmtab *)NULL)
-
-#endif /* _TMSTRUCT_H */