From: Hiltjo Posthuma Date: Wed, 27 Apr 2016 14:40:51 +0000 (+0200) Subject: stagit-index: remove unused efopen function X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=70b777831a80a7a204f02697563d39dba612c8c4;p=forks%2Fstagit.git stagit-index: remove unused efopen function --- diff --git a/stagit-index.c b/stagit-index.c index 8f8ffc2..4faa264 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -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)