X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fx.c;h=18c69a47457bf786aa9899999ed419ea96cdb4dd;hp=54566423e03f29c45c0d65f190e448a2ae18c79b;hb=ded32923a25488449be27687013845d7fa0e9e5e;hpb=629eaa8969f997cd15010bdb0c285cdf3dc5fe0a diff --git a/src/x.c b/src/x.c index 5456642..18c69a4 100644 --- a/src/x.c +++ b/src/x.c @@ -133,7 +133,7 @@ xfdopen (int filedes, const char *mode) return ret; } -FILE * +void xfreopen (const char *path, const char *mode, FILE *stream) { FILE *ret; @@ -144,8 +144,6 @@ xfreopen (const char *path, const char *mode, FILE *stream) path, strerror (errno)); exit (1); } - - return ret; } char *