浏览代码

libdpkg: Define YY_NO_INPUT to make flex not include input()

The function is unused and it only increases the binary sizes.
Guillem Jover 18 年之前
父节点
当前提交
4e146921a6
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 5 0
      ChangeLog
  2. 2 0
      lib/trigdeferred.l

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-06-30  Guillem Jover  <guillem@debian.org>
+
+	* lib/trigdeferred.l: Define YY_NO_INPUT to make flex not include
+	the unused input() in the resulting object.
+
 2008-06-29  Guillem Jover  <guillem@debian.org>
 
 	* lib/parsedump.h (parseerr, parsemustfield): Remove prototypes.

+ 2 - 0
lib/trigdeferred.l

@@ -43,6 +43,8 @@
 #include <dpkg.h>
 #include <dpkg-db.h>
 
+#define YY_NO_INPUT
+
 static struct varbuf fn, newfn;
 
 %}