summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--replace.c8
-rw-r--r--replace.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/replace.c b/replace.c
index 8fcf51d..b8e1280 100644
--- a/replace.c
+++ b/replace.c
@@ -37,14 +37,6 @@ getfilelength(FILE *fp)
return retval;
}
-void
-appendchar(char *dest, char ch)
-{
- int len = strlen(dest);
- dest[len] = ch;
- dest[len+1] = '\0';
-}
-
int
replaceinfile(char *originalfile, char *destinationfile, char *placeholder, char *replacement)
{
diff --git a/replace.h b/replace.h
index 8b0089c..c117854 100644
--- a/replace.h
+++ b/replace.h
@@ -19,9 +19,6 @@
size_t
getfilelength(FILE *fp);
-void
-appendchar(char *dest, char ch);
-
int
replaceinfile(char *originalfile, char *destinationfile, char *placeholder, char *replacement);