stagit

stagit-index: remove unused efopen function

Hiltjo Posthuma contact@arjunchoudhary.com

commit: b8fb137 parent: a6784b6
1 files changed, 0 insertions(+), 11 deletions(-)
Mstagit-index.c+0-11
M · stagit-index.c +0, -11
 1@@ -24,17 +24,6 @@ static char description[255] = "Repositories";
 2 static char name[255];
 3 static char owner[255];
 4 
 5-FILE *
 6-efopen(const char *name, const char *flags)
 7-{
 8-	FILE *fp;
 9-
10-	if (!(fp = fopen(name, flags)))
11-		err(1, "fopen");
12-
13-	return fp;
14-}
15-
16 /* Escape characters below as HTML 2.0 / XML 1.0. */
17 void
18 xmlencode(FILE *fp, const char *s, size_t len)