X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=pgn.h;h=0f5101591cedd3f9937b77b300558f22053a7861;hb=60900035e6d0309705f2326ee50edc52386305e9;hp=e79fc3f3a895aa9e09fda8c8517ed314334c3127;hpb=64f72f31685ea1dff12b19b22cfaf7a53ccc079f;p=polyglot.git diff --git a/pgn.h b/pgn.h index e79fc3f..0f51015 100644 --- a/pgn.h +++ b/pgn.h @@ -6,17 +6,17 @@ // includes -#include +#include #include "util.h" -// constants +// defines -const int PGN_STRING_SIZE = 256; +#define PGN_STRING_SIZE 256 // types -struct pgn_t { +typedef struct { FILE * file; @@ -40,7 +40,7 @@ struct pgn_t { int move_line; int move_column; int game_nb; -}; +} pgn_t; // functions