summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
commitf43e845258dda28106567b7c86f66d26d93bf0b7 (patch)
treee8ed2e2fde34a272f2c09f521e14a380f8fdfd1a /src/util.cc
parent64d76c03e5074d6e3abf2781c3e82545b4c52b73 (diff)
Remove one-use my_fputs()
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/util.cc b/src/util.cc
index 675a02d1..44853967 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -363,26 +363,6 @@ errr my_fgets(FILE *fff, char *buf, huge n)
/*
-* Hack -- replacement for "fputs()"
-*
-* Dump a string, plus a newline, to a file
-*
-* XXX XXX XXX Process internal weirdness?
-*/
-errr my_fputs(FILE *fff, cptr buf, huge n)
-{
- /* XXX XXX */
- n = n ? n : 0;
-
- /* Dump, ignore errors */
- (void)fprintf(fff, "%s\n", buf);
-
- /* Success */
- return (0);
-}
-
-
-/*
* The Macintosh is a little bit brain-dead sometimes
*/
#ifdef MACINTOSH