protect all user-level include files against reinclusion
[unix-history] / usr / src / include / ttyent.h
index 6f77c3e..66e86dd 100644 (file)
@@ -4,9 +4,12 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)ttyent.h    5.6 (Berkeley) %G%
+ *     @(#)ttyent.h    5.7 (Berkeley) %G%
  */
 
  */
 
+#ifndef        _TTYENT_H_
+#define        _TTYENT_H_
+
 #define        _PATH_TTYS      "/etc/ttys"
 
 #define        _TTYS_OFF       "off"
 #define        _PATH_TTYS      "/etc/ttys"
 
 #define        _TTYS_OFF       "off"
@@ -33,3 +36,5 @@ struct ttyent *getttynam __P((const char *));
 int setttyent __P((void));
 int endttyent __P((void));
 __END_DECLS
 int setttyent __P((void));
 int endttyent __P((void));
 __END_DECLS
+
+#endif /* !_TTYENT_H_ */