stagit-index: remove unused efopen function - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 70b777831a80a7a204f02697563d39dba612c8c4 DIR parent 86bbe822114c01d9c1bcfe6950463ee1c73e39a5 HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 27 Apr 2016 16:40:51 +0200 stagit-index: remove unused efopen function Diffstat: M stagit-index.c | 11 ----------- 1 file changed, 0 insertions(+), 11 deletions(-) --- DIR diff --git 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)