* Falk Hueffner provided a patch to make kraut work on alpha.
authorjoey <joey@a4a2c43b-8ac3-0310-8836-e0e880c912e2>
Thu, 21 Nov 2002 05:17:28 +0000 (05:17 +0000)
committerjoey <joey@a4a2c43b-8ac3-0310-8836-e0e880c912e2>
Thu, 21 Nov 2002 05:17:28 +0000 (05:17 +0000)
Closes: #169256
debian/changelog
kraut.dir/kraut.c
kraut.dir/kraut.l

index 1862e281bb675c7e5468c8d9c331bff2655ff124..f6dab5a1165d1dc3b380178050923e5fc15c1da5 100644 (file)
@@ -1,3 +1,10 @@
+filters (2.30) unstable; urgency=low
+
+  * Falk Hueffner provided a patch to make kraut work on alpha.
+    Closes: #169256
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 21 Nov 2002 00:16:40 -0500
+
 filters (2.29) unstable; urgency=low
 
   * Added certain German phrase to the censor filter. If Germans want to send
index 2880331cdc6603a9b06b372293782e733c27f3b8..e09ba5fd2c4a5a7ef125e2968e6b1ff1b051ae4e 100644 (file)
@@ -6,16 +6,20 @@
 
 /* This is in the public domain. Do with it as you will. */
 
-main()
+const char *yylex(void);
+
+int main()
 {
-char *line; 
+    char *line; 
 
-    while(line = (char *) yylex()){
+    while((line = (char *) yylex())) {
          printf("%s", line);
     }
+
+    return 0;
 }
 
-yywrap ()
+int yywrap ()
 {
     return (1);
 }
index 41a021d142238587b44616b8a4212f1ec2723084..e46acdefc0bb8bfdcca2df35aa1cf3e9bad441b1 100644 (file)
@@ -8,6 +8,7 @@ BW [      ]
 EW [      .,;!?]
 
 %{
+#define YY_DECL const char *yylex(void)
      char buf[128];
 
 %}
This page took 0.013221 seconds and 4 git commands to generate.