summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-06-23 03:14:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-06-23 03:14:33 +0000
commita4086c3c3cc2ca0afa9e7f972d1fb3b34b36fb93 (patch)
treebf472fe30bd42054dae7fcb53a222929535fe34b
parent14650faf42d52f3a216275c43077b8a69c9311b4 (diff)
delete unused stupid code; Daniel Dickman
-rw-r--r--games/phantasia/setup.c38
1 files changed, 1 insertions, 37 deletions
diff --git a/games/phantasia/setup.c b/games/phantasia/setup.c
index 9e3d71991ee..f188dea8d3e 100644
--- a/games/phantasia/setup.c
+++ b/games/phantasia/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.10 2010/12/15 06:40:39 tedu Exp $ */
+/* $OpenBSD: setup.c,v 1.11 2011/06/23 03:14:32 deraadt Exp $ */
/* $NetBSD: setup.c,v 1.4 1995/04/24 12:24:41 cgd Exp $ */
/*
@@ -175,42 +175,6 @@ main(argc, argv)
}
}
-#ifdef MAKE_INSTALLS_THIS_AND_DOESNT_WANT_TO_HEAR_ABOUT_IT
- /* write to motd file */
- printf("One line 'motd' ? ");
- if (fgets(Databuf, SZ_DATABUF, stdin) == NULL)
- Databuf[0] = '\0';
- snprintf(path, sizeof(path), "%s%s", prefix?prefix:"", _PATH_MOTD);
- if ((fp = fopen(path, "w")) == NULL)
- Error("Cannot update %s.\n", path);
- else
- {
- fwrite(Databuf, sizeof(char), strlen(Databuf), fp);
- fclose(fp);
- }
-
- /* report compile-time options */
- printf("Compiled options:\n\n");
- printf("Phantasia destination directory: %s\n", _PATH_PHANTDIR);
- printf("Wizard: root UID: 0\n");
-
-#ifdef BSD41
- printf("Compiled for BSD 4.1\n");
-#endif
-
-#ifdef BSD42
- printf("Compiled for BSD 4.2\n");
-#endif
-
-#ifdef SYS3
- printf("Compiled for System III\n");
-#endif
-
-#ifdef SYS5
- printf("Compiled for System V\n");
-#endif
-#endif
-
exit(0);
/*NOTREACHED*/
}