From: Guillem Jover Date: Mon, 30 Jun 2008 02:43:54 +0000 (+0300) Subject: libdpkg: Define YY_NO_INPUT to make flex not include input() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e146921a6a304e8478321d27527a4af1db2cfc3;p=dpkg libdpkg: Define YY_NO_INPUT to make flex not include input() The function is unused and it only increases the binary sizes. --- 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; %}