Permalink
Browse files

Correct `run_the_game()` to return `void`.

  • Loading branch information...
1 parent c3d731b commit db93d9ac19b018acd6dd8700ac56b474de61ed08 @jonm committed Oct 10, 2015
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/comm.c
  2. +1 −1 src/protos.h
View
@@ -216,7 +216,7 @@ int main (int argc, char **argv)
/* Init sockets, run game, and cleanup sockets */
-int run_the_game(int port)
+void run_the_game(int port)
{
int s;
PROFILE(extern etext();)
View
@@ -336,7 +336,7 @@ int board_check_locks (int bnum, struct char_data *ch);
int __main ();
void close_socket_fd( int desc);
int main (int argc, char **argv);
-int run_the_game(int port);
+void run_the_game(int port);
int game_loop(int s);
int get_from_q(struct txt_q *queue, char *dest);
void write_to_q(char *txt, struct txt_q *queue);

0 comments on commit db93d9a

Please sign in to comment.