Fix tags on #else #endif for ANSI C
authorPaul Borman <borman@ucbvax.Berkeley.EDU>
Tue, 29 Aug 1989 00:57:38 +0000 (16:57 -0800)
committerPaul Borman <borman@ucbvax.Berkeley.EDU>
Tue, 29 Aug 1989 00:57:38 +0000 (16:57 -0800)
SCCS-vsn: usr.bin/telnet/commands.c 1.20
SCCS-vsn: usr.bin/telnet/sys_bsd.c 1.20

usr/src/usr.bin/telnet/commands.c
usr/src/usr.bin/telnet/sys_bsd.c

index 929b2e4..280b61e 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)commands.c 1.19 (Berkeley) %G%";
+static char sccsid[] = "@(#)commands.c 1.20 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -27,7 +27,7 @@ static char sccsid[] = "@(#)commands.c        1.19 (Berkeley) %G%";
 #include <netinet/in.h>
 #ifdef CRAY
 #include <sys/fcntl.h>
 #include <netinet/in.h>
 #ifdef CRAY
 #include <sys/fcntl.h>
-#endif CRAY
+#endif /* CRAY */
 
 #include <signal.h>
 #include <netdb.h>
 
 #include <signal.h>
 #include <netdb.h>
@@ -45,14 +45,14 @@ static char sccsid[] = "@(#)commands.c      1.19 (Berkeley) %G%";
 #include "types.h"
 
 #ifdef SRCRT
 #include "types.h"
 
 #ifdef SRCRT
-#if    !defined(CRAY)
-#include <netinet/in_systm.h>
-#if    !defined(sun)
-#include <machine/endian.h>
-#endif
-#endif
+# ifndef CRAY
+# include <netinet/in_systm.h>
+#  ifndef sun
+#  include <machine/endian.h>
+#  endif /* sun */
+# endif /* CRAY */
 #include <netinet/ip.h>
 #include <netinet/ip.h>
-#endif
+#endif /* SRCRT */
 
 
 char   *hostname;
 
 
 char   *hostname;
@@ -715,7 +715,7 @@ _setlist_init()
        Setlist[11].charp = &termEraseChar;
        Setlist[12].charp = &termKillChar;
 }
        Setlist[11].charp = &termEraseChar;
        Setlist[12].charp = &termKillChar;
 }
-#endif CRAY
+#endif /* CRAY */
 
 static char **
 getnextset(name)
 
 static char **
 getnextset(name)
index df33e64..8858a76 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)sys_bsd.c  1.19 (Berkeley) %G%";
+static char sccsid[] = "@(#)sys_bsd.c  1.20 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -223,7 +223,7 @@ register int func;
     case SLC_EW:       return(&termWerasChar);
     case SLC_RP:       return(&termRprntChar);
     case SLC_LNEXT:    return(&termLiteralNextChar);
     case SLC_EW:       return(&termWerasChar);
     case SLC_RP:       return(&termRprntChar);
     case SLC_LNEXT:    return(&termLiteralNextChar);
-#endif CRAY
+#endif /* CRAY */
 
     case SLC_SYNCH:
     case SLC_BRK:
 
     case SLC_SYNCH:
     case SLC_BRK:
@@ -489,7 +489,7 @@ long *rows, *cols;
        *cols = ws.ws_col;
        return 1;
     }
        *cols = ws.ws_col;
        return 1;
     }
-#endif TIOCGWINSZ
+#endif /* TIOCGWINSZ */
     return 0;
 }
 
     return 0;
 }