shared config reader
[netris.git] / client.c
index bd12f8ec913146649ee64d42efe6ff65f0d05e10..a1e284d39475f5e9d282120ccf1dc1a05487db3d 100644 (file)
--- a/client.c
+++ b/client.c
@@ -105,20 +105,6 @@ void MapKeys(char *newKeys)
                exit(1);
 }
 
-void WriteConf(void)
-{
-       FILE *file_out;
-
-       file_out = fopen(CONFIG_FILE, "w");
-       if (file_out == NULL)
-               die("Error writing config file");
-
-       fprintf(file_out, "### NETRIS %s Config file ###\n\n", version_string);
-
-       fclose(file_out);
-       fprintf(stderr, "Wrote new game configuration to %s\n", CONFIG_FILE);
-}
-
 void Usage(void)
 {
        Header();