X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fx.h;h=868a5674689ee90f4e52a1c59f3dd9dccaabfffd;hp=024d8c283885590596cfe566e6cb70747b23b2b6;hb=ded32923a25488449be27687013845d7fa0e9e5e;hpb=49f7f9e3dc198c3593021bff5514f19090a4834c diff --git a/src/x.h b/src/x.h index 024d8c2..868a567 100644 --- a/src/x.h +++ b/src/x.h @@ -22,6 +22,8 @@ #ifndef _X_H_ #define _X_H_ +#include "ttt.h" + void xasprintf (char **strp, const char *fmt, ...) TTT_PRINTF_FORMAT(2, 3); @@ -46,7 +48,7 @@ xrealloc (void *ptr, size_t size); FILE * xfdopen (int filedes, const char *mode); -FILE * +void xfreopen (const char *path, const char *mode, FILE *stream); char *