stagit-index: remove unused efopen function
authorHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 27 Apr 2016 14:40:51 +0000 (16:40 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 27 Apr 2016 14:40:51 +0000 (16:40 +0200)
stagit-index.c

index 8f8ffc203e7edce29b06570e3542396356254136..4faa264e6d6b2e322db1397cd733fd2d066662f0 100644 (file)
@@ -24,17 +24,6 @@ static char description[255] = "Repositories";
 static char name[255];
 static char owner[255];
 
-FILE *
-efopen(const char *name, const char *flags)
-{
-       FILE *fp;
-
-       if (!(fp = fopen(name, flags)))
-               err(1, "fopen");
-
-       return fp;
-}
-
 /* Escape characters below as HTML 2.0 / XML 1.0. */
 void
 xmlencode(FILE *fp, const char *s, size_t len)