remove reference comments after functions
[netris.git] / inet.c
diff --git a/inet.c b/inet.c
index 8f1f4538dd739ca2cea9f80e2bf38d845c914fad..236a73edb627479cfca606d5d7800608639d9eeb 100644 (file)
--- a/inet.c
+++ b/inet.c
@@ -46,7 +46,7 @@ static sigjmp_buf close_env;
 void CatchInt(int sig)
 {
        siglongjmp(close_env, 1);
-} //CatchInt
+}
 
 int InitiateConnection(char *hostStr, short port)
 { //connect to host
@@ -77,7 +77,7 @@ int InitiateConnection(char *hostStr, short port)
        }
        AddEventGen(&netGen);
        return 0;
-} //InitiateConnection
+}
 
 void HandShake(void)
 { //talk to your host
@@ -140,7 +140,7 @@ void HandShake(void)
                        fatal("Hm, the party apparantly ended prematurely.");
        }
        while (event.u.net.type != NP_gamedata);
-} //HandShake
+}
 
 
 MyEventType NetGenFunc(EventGenRec *gen, MyEvent *event)
@@ -175,7 +175,7 @@ MyEventType NetGenFunc(EventGenRec *gen, MyEvent *event)
        event->u.net.data = gen->buf + HEADER_SIZE3;
        if (type == NP_endConn) return E_lostConn;
        return E_net;
-} //NetGenFunc
+}
 
 void SendPacket(short uid, NetPacketType type, int size, void *data)
 { //send shit to server
@@ -188,7 +188,7 @@ void SendPacket(short uid, NetPacketType type, int size, void *data)
                die("write (header)");
        if (size > 0 && data && MyWrite(netGen.fd, data, size) != size)
                die("write");
-} //SendPacket
+}
 
 void CloseNet(void)
 { //kick some connection's ass!
@@ -201,7 +201,7 @@ void CloseNet(void)
        }
        if (netGen.next)
                RemoveEventGen(&netGen);
-} //CloseNet
+}
 
 /*
  * vi: ts=4 ai