summaryrefslogtreecommitdiffstats
path: root/pw/fileupd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw/fileupd.c')
-rw-r--r--pw/fileupd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/pw/fileupd.c b/pw/fileupd.c
index 7df4bb1..d2987ec 100644
--- a/pw/fileupd.c
+++ b/pw/fileupd.c
@@ -42,19 +42,6 @@ static const char rcsid[] =
#include "pwupd.h"
int
-extendline(char **buf, int * buflen, int needed)
-{
- if (needed > *buflen) {
- char *tmp = realloc(*buf, needed);
- if (tmp == NULL)
- return -1;
- *buf = tmp;
- *buflen = needed;
- }
- return *buflen;
-}
-
-int
extendarray(char ***buf, int * buflen, int needed)
{
if (needed > *buflen) {