make ANSI C compatible
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 23 Dec 1987 05:35:29 +0000 (21:35 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 23 Dec 1987 05:35:29 +0000 (21:35 -0800)
SCCS-vsn: games/sail/pl_7.c 5.3
SCCS-vsn: games/snake/snake/move.c 5.3

usr/src/games/sail/pl_7.c
usr/src/games/snake/snake/move.c

index c0408d3..f4bf8be 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)pl_7.c     5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)pl_7.c     5.3 (Berkeley) %G%";
 #endif not lint
 
 #include "player.h"
 #endif not lint
 
 #include "player.h"
@@ -207,7 +207,7 @@ register n;
                                *p++ = c;
                                (void) waddch(scroll_w, c);
                        } else
                                *p++ = c;
                                (void) waddch(scroll_w, c);
                        } else
-                               (void) putchar(CTRL(g));
+                               (void) putchar(CTRL('g'));
                }
        }
 }
                }
        }
 }
index 2bfe4cf..eea3bbb 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)move.c     5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)move.c     5.3 (Berkeley) %G%";
 #endif not lint
 
 /*************************************************************************
 #endif not lint
 
 /*************************************************************************
@@ -403,8 +403,8 @@ char *s;{
                case '\b':
                        bs();
                        break;
                case '\b':
                        bs();
                        break;
-               case CTRL(g):
-                       outch(CTRL(g));
+               case CTRL('g'):
+                       outch(CTRL('g'));
                        break;
                default:
                        if (s[0] < ' ')break;
                        break;
                default:
                        if (s[0] < ' ')break;