From 4e146921a6a304e8478321d27527a4af1db2cfc3 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 30 Jun 2008 05:43:54 +0300 Subject: [PATCH] libdpkg: Define YY_NO_INPUT to make flex not include input() The function is unused and it only increases the binary sizes. --- ChangeLog | 5 +++++ lib/trigdeferred.l | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index afefeedb..6e169246 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-30 Guillem Jover + + * lib/trigdeferred.l: Define YY_NO_INPUT to make flex not include + the unused input() in the resulting object. + 2008-06-29 Guillem Jover * lib/parsedump.h (parseerr, parsemustfield): Remove prototypes. diff --git a/lib/trigdeferred.l b/lib/trigdeferred.l index a2f63e6c..bf9d0953 100644 --- a/lib/trigdeferred.l +++ b/lib/trigdeferred.l @@ -43,6 +43,8 @@ #include #include +#define YY_NO_INPUT + static struct varbuf fn, newfn; %} -- 2.39.5