declaration cleanup
[netris.git] / netris.h
index 6cc395ca2c9edb9b0db31e57afc7249a56646998..28a4132403d7cdb66264aedf3e811d015e67bc95 100644 (file)
--- a/netris.h
+++ b/netris.h
@@ -128,10 +128,6 @@ typedef struct _MyEvent {
        union {
                char key;
                _netEvent net;
-               struct {
-                       int size;
-                       char *data;
-               } robot;
        } u;
 } MyEvent;
 
@@ -150,8 +146,6 @@ typedef struct _EventGenRec {
        int bufSize, bufGoal;
 } EventGenRec;
 
-MyEventType NetGenFunc(EventGenRec *gen, MyEvent *event);
-
 /* NP_startConn flags */
 #define SCF_paused  1
 
@@ -195,7 +189,7 @@ EXT _Game Game;
 
 EXT short port; // => just in client.c, parameter to inet connect
 
-static const char teamname[10][7] = {
+static const char *teamname[] = {
        "", "Green", "Cyan", "Blue", "Purple",
        "Red", "Grey", "White", "*Orange"
 };