Changeset 501a8ba in mainline for tetris


Ignore:
Timestamp:
2006-06-16T21:20:51Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d3cd9774
Parents:
153a209
Message:

Some other warnings removed.

Location:
tetris
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tetris/input.c

    r153a209 r501a8ba  
    109109        } else
    110110                s = NULL;
    111 again:
     111
    112112        if (!lastchar) {
    113113                if (!getchar_inprog)
     
    143143{
    144144        struct timeval tv;
    145         char c;
    146145
    147146        tv.tv_sec = 0;
  • tetris/screen.c

    r153a209 r501a8ba  
    6262static int curscore;
    6363static int isset;               /* true => terminal is in game mode */
    64 static void (*tstp)(int);
    65 
    66 static void     scr_stop(int);
    67 static void     stopset(int);
    68 
    69 static char
    70         *CEstr;                 /* clear to end of line */
    7164
    7265
     
    147140{
    148141        return async_req_2(con_phone, CONSOLE_GETSIZE, 0, 0, &ws->ws_row, &ws->ws_col);
    149 }
    150 
    151 static void
    152 scr_stop(int sig)
    153 {
    154 
    155         scr_end();
    156         scr_set();
    157         scr_msg(key_msg, 1);
    158142}
    159143
  • tetris/tetris.c

    r153a209 r501a8ba  
    164164        gettimeofday(&tv, NULL);
    165165        srandom(tv.tv_sec + tv.tv_usec / 100000);
    166 }
    167 
    168 static void tetris_scores(int firstgame)
    169 {
    170166}
    171167
     
    260256        int level = 2;
    261257        char key_write[6][10];
    262         const char *errstr;
    263         int ch, i, j;
     258        int i, j;
    264259
    265260        keys = "jkl pq";
     
    451446*/
    452447        scr_end();
    453         exit(0);
     448
     449        return 0;
    454450}
    455451
Note: See TracChangeset for help on using the changeset viewer.