*/
#include "ttt-client.h"
-
-#define YY_DECL int yylex (yyscan_t yyscanner, ttt_token_t *token)
-
#include "ttt-error.h"
-#include "ttt-lex.h"
#include "ttt-server.h"
#include "ttt-socket.h"
#include "ttt-token.h"
+#define YY_DECL int yylex (yyscan_t yyscanner, ttt_token_t *token)
+#include "ttt-lex.h"
+YY_DECL;
+
struct _ttt_client {
pthread_mutex_t mutex;
pthread_t thread;
{
return client->num_wins;
}
+
+/* This is just to keep the compiler quiet about a function declared
+ * static but never defined. Just an annoying bug in flex's output. */
+static int yy_init_globals (yyscan_t yyscanner) {return 0;}
+void use_yy_init_globals (void);
+void use_yy_init_globals (void) {yyscan_t scan; yy_init_globals(scan);}