From: Carl Worth Date: Fri, 11 Nov 2005 20:47:35 +0000 (+0000) Subject: 2005-11-11 Carl Worth X-Git-Url: https://git.cworth.org/git?p=ttt;a=commitdiff_plain;h=c23865689e087ec70e36e13075f997ba39fcda75 2005-11-11 Carl Worth * src/ttt.h: * src/x.c: * src/x.h: Move include of stdarg.h from x.c to ttt.h. --- diff --git a/ChangeLog b/ChangeLog index f0f59db..69d3b08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-11 Carl Worth + + * src/ttt.h: + * src/x.c: + * src/x.h: Move include of stdarg.h from x.c to ttt.h. + 2005-11-11 Carl Worth * src/ttt-board.h: Include ttt.h to get standard includes. diff --git a/src/ttt.h b/src/ttt.h index 0820212..203c637 100644 --- a/src/ttt.h +++ b/src/ttt.h @@ -30,6 +30,7 @@ #define _GNU_SOURCE #include #include +#include #include #include #include diff --git a/src/x.c b/src/x.c index 3e46abd..5456642 100644 --- a/src/x.c +++ b/src/x.c @@ -19,9 +19,7 @@ * Author: Carl Worth */ -#include "ttt.h" - -#include +#include "x.h" void xasprintf (char **strp, const char *fmt, ...) diff --git a/src/x.h b/src/x.h index 024d8c2..58f1297 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);