Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libterm Place inclusion of required headers within multi...



details:   https://anonhg.NetBSD.org/src/rev/80ea858d5a1f
branches:  trunk
changeset: 482729:80ea858d5a1f
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun Feb 20 13:32:52 2000 +0000

description:
Place inclusion of required headers within multiple-inclusion wrappers.

diffstat:

 lib/libterm/termcap.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r c7e9bc13ad92 -r 80ea858d5a1f lib/libterm/termcap.h
--- a/lib/libterm/termcap.h     Sun Feb 20 08:17:36 2000 +0000
+++ b/lib/libterm/termcap.h     Sun Feb 20 13:32:52 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: termcap.h,v 1.8 1999/10/04 23:16:52 lukem Exp $        */
+/*     $NetBSD: termcap.h,v 1.9 2000/02/20 13:32:52 kleink Exp $       */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -38,12 +38,10 @@
  *     @(#)termcap.h   8.1 (Berkeley) 6/4/93
  */
 
-#include <sys/types.h>
-
 #ifndef _TERMCAP_H_
 #define _TERMCAP_H_
 
-struct tinfo;
+#include <sys/types.h>
 
 __BEGIN_DECLS
 int   tgetent  __P((char *, const char *));
@@ -56,6 +54,8 @@
 /*
  * New interface
  */
+struct tinfo;
+
 int   t_getent __P((struct tinfo **, const char *));
 int   t_getnum  __P((struct tinfo *, const char *));
 int   t_getflag __P((struct tinfo *, const char *));
@@ -71,4 +71,4 @@
 extern short ospeed;
 __END_DECLS
 
-#endif /* _TERMCAP_H_ */
+#endif /* !_TERMCAP_H_ */



Home | Main Index | Thread Index | Old Index